Add an index to a specified table within a project.
cURL
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 }
Bearer Token
Table UUID
Index details JSON
The body is of type object.
object
Index created
The response is of type object.