cURL
curl --request PATCH \ --url https://your-instance.example.com/api/ai-models/organization/{organizationId}/api-key/{provider}/toggle \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "isEnabled": true } '
{}
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Provider status toggled
Generic response envelope. Endpoint-specific fields are intentionally open.