Skip to main content
DELETE
/
api
/
ai-models
/
{id}
Delete AI model (superadmin only)
curl --request DELETE \
  --url https://your-instance.example.com/api/ai-models/{id} \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "message": "API key for anthropic removed successfully"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Response

AI model deleted

Generic success envelope used for delete / update endpoints that do not return a resource.

success
enum<boolean>
required
Available options:
true
message
string