curl --request POST \
--url https://dev.startree.ai/instances/{instanceName}/state \
--header 'Authorization: <api-key>' \
--header 'Content-Type: text/plain' \
--data '<string>'
Enable/disable/drop an instance
curl --request POST \
--url https://dev.startree.ai/instances/{instanceName}/state \
--header 'Authorization: <api-key>' \
--header 'Content-Type: text/plain' \
--data '<string>'
The format of the key is "Basic <token>" or "Bearer <token>"
Instance name
The body is of type string
.