Athena
Indexes

Create an index

Requires `X-Athena-Client` and a client-bound API key with `management.indexes.write`.

POST
/management/indexes

Header Parameters

X-Athena-Client*string
apikey*string

Request Body

application/json

schema_name?string
Default"public"
table_name*string
index_name?|
columns*array<>
unique?boolean
Defaultfalse
method?string
Default"btree"

Response Body

curl -X POST "https://athena-cluster.com/management/indexes" \  -H "X-Athena-Client: string" \  -H "apikey: string" \  -H "Content-Type: application/json" \  -d '{    "table_name": "string",    "columns": [      "string"    ]  }'
Empty
Empty
Empty
Empty
Empty
Empty
Empty