Admin
Promote a local API key to global (admin)
Elevates a locally-created API key to a global key by syncing it through the ws-proxy manager to all connected Worker clusters. The key must not already be global. Requires an active ws-proxy connection.
Elevates a locally-created API key to a global key by syncing it through the ws-proxy manager to all connected Worker clusters. The key must not already be global. Requires an active ws-proxy connection.
Authorization
AdminKeyAuth AGENTBOX-API-KEY<token>
Admin-level API key. Same header as ApiKeyAuth but requires admin role.
In: header
Path Parameters
name*string
API key identifier in {namespace}/{shortName} format, or just {shortName}
when the caller's namespace is implied. Admin endpoints accept the fully-qualified form.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://admin/api-keys/t-team-user/my-key/promote"{ "keyId": "string", "status": "string"}{ "error": "string", "errorCode": "API_KEY_REQUIRED", "detail": null}{ "error": "string", "errorCode": "API_KEY_REQUIRED", "detail": null}{ "error": "string", "errorCode": "API_KEY_REQUIRED", "detail": null}{ "error": "string", "errorCode": "API_KEY_REQUIRED", "detail": null}{ "error": "string", "errorCode": "API_KEY_REQUIRED", "detail": null}