AI Models
Remove API key for a provider
Removes the stored API key for a provider from the organization's credentials. SUPERADMIN-only and tenant-scoped. Removing the anthropic key also clears the legacy anthropicApiKey field.
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
organizationId*string
provider*string
Response Body
application/json
application/json
application/json
application/json
curl -X DELETE "https://example.com/api/ai-models/organization/string/api-key/string"{ "success": true, "message": "API key for anthropic removed successfully"}