🔨 In Development — This section is still being developed and may change.
Activate, deactivate, pause, or unpause organization API keys without modifying other metadata. These endpoints help teams react quickly to security incidents or operational needs.
| Action | Method & Path |
|---|---|
| Activate key | POST /v1/organizations/{organization_id}/api/{api_key_id}/activate |
| Deactivate key | POST /v1/organizations/{organization_id}/api/{api_key_id}/deactivate |
| Pause key | POST /v1/organizations/{organization_id}/api/{api_key_id}/pause |
| Unpause key | POST /v1/organizations/{organization_id}/api/{api_key_id}/unpause |
All four endpoints share the same structure and optional request body.
POSThttps://api.freddy.aitronos.com/v1/organizations/{organization_id}/api/{api_key_id}/activate
organization_id string required
Organization scope for the API key.
api_key_id string required
Identifier of the API key to modify (prefixed with apk_).
note string optional
Optional audit message explaining why the status changed.
Updated key metadata reflecting the new status.
{
"id": "apk_7f21a9d94e6f48b1",
"status": "active",
"isPaused": false,
"updatedAt": "2025-11-05T10:11:02Z"
}