Skip to main content
POST
/
byok
/
delete
curl -X POST https://api.thinnest.ai/byok/delete \
  -H "Authorization: Bearer $THINNESTAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "provider": "anthropic"
}'
{
  "success": true,
  "message": "Anthropic API key removed"
}
curl -X POST https://api.thinnest.ai/byok/delete \
  -H "Authorization: Bearer $THINNESTAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "provider": "anthropic"
}'

Delete BYOK Key

Remove a stored API key for a provider. The provider’s models will no longer be available in the model dropdown (unless managed by the platform).

Request

POST /byok/delete
Authorization: Bearer {token}
Content-Type: application/json
{
  "provider": "anthropic"
}

Response

{
  "success": true,
  "message": "Anthropic API key removed"
}

Authorizations

Authorization
string
header
required

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

Body

application/json
provider
string
required

Response

Successful Response