Update Sub-Account API Key
Updates the label and scopes for an API key owned by a sub account. Updated scopes are validated against the child account.
Authorizations
API key for authentication
Path Parameters
Parent account ID
Sub account ID
API key ID
Body
- Option 1
- Option 2
At least one non-null field must be provided, and at least one provided value must differ from the current value. Omitted or null fields are left unchanged.
Response
Sub-account API key updated successfully
Object type identifier
api_key Unique identifier for the API key
When the API key was created
When the API key was last updated
Account ID this API key belongs to
Human-readable label for the API key
Public portion of the API key
Scopes granted to this API key
When the API key was last used (updates every 5-10 minutes)
Secret key. Only returned when an API key is created, including exact idempotent replays of create requests within the 5-minute secret-bearing replay window. Store it immediately; list, get, update, and delete responses omit it.

