Enable or disable one of the user’s own API keys.
cURL
curl --request PATCH \ --url https://your-domain.com/api/me/api-keys/{key_id}/active \ --header 'Content-Type: application/json' \ --data ' { "is_active": true } '
{ "id": "<string>", "name": "<string>", "key_prefix": "<string>", "is_active": true, "created_at": "<string>", "scopes": "<string>", "expires_at": "2023-11-07T05:31:56Z", "last_used_at": "2023-11-07T05:31:56Z", "total_requests": 0 }
Documentation IndexFetch the complete documentation index at: https://docs.fim.ai/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.fim.ai/llms.txt
Use this file to discover all available pages before exploring further.
Successful Response