🔨 In Development — This section is still being developed and may change.
Modify metadata, spending limits, or activation status for an organization API key.
PUThttps://api.freddy.aitronos.com/v1/organizations/{organization_id}/api/{api_key_id}
organization_id string required
Organization scope.
api_key_id string required
API key identifier (prefixed with apk_).
Provide any combination of the following fields:
namestring — Friendly label displayed in dashboards.monthly_limitnumber or null — Spending limit in CHF (nullremoves the limit).is_activeboolean — Enables or disables the key immediately.is_pausedboolean — Temporarily pause the key without revoking it.
Updated API key metadata reflecting the changes.
{
"id": "apk_7f21a9d94e6f48b1",
"organizationId": "ORG_1234567890abcdef",
"maskedKey": "oak_prod_1f33…9b2",
"name": "Production backend",
"status": "active",
"monthlyLimit": 3000,
"currentMonthCost": 912.11,
"updatedAt": "2025-11-05T08:15:03Z"
}