POST
/
tables
/
{tableUUID}
/
indexes
Create index
curl --request POST \
  --url https://api.fluxend.app/tables/{tableUUID}/indexes \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '{
  "columns": [
    "<string>"
  ],
  "is_unique": true,
  "name": "<string>",
  "projectUUID": "<string>"
}'
{
  "content": "<any>",
  "errors": [
    "<string>"
  ],
  "metadata": "<any>",
  "success": true
}

Headers

Authorization
string
required

Bearer Token

Path Parameters

tableUUID
string
required

Table UUID

Body

application/json

Index details JSON

The body is of type object.

Response

201
application/json

Index created

The response is of type object.