Register an approval key
Register an approval public key for an API user, used to sign approval requests. Up to 2 active keys are supported per API user. Returns the server-generated key ID used for deletion.
The userId must be the authenticated API user’s own ID. Registering a key for another user is not supported and is rejected.
Registration may require approval. In that case the response carries ccrIdPendingRegistration, the key reads as APPROVAL_API_KEY_STATUS_PENDING_REGISTRATION and cannot sign until the request is approved. A rejected request removes the key.
Endpoint Permission: Owner, Admin, Non-Signing Admin, Approver, Signer, Security Admin.
Headers
A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours.
Path Parameters
The ID of the API user to register the approval key for.
Body
Response
The approval key was registered.
The result of registering an approval API key.
The server-generated ID of the registered key, used for deletion.
"fab543c0-d6be-414c-aa05-5c6c84269d7a"
Always returned. An empty string when the key is active immediately. Otherwise, the ID of the approval request that must be approved before the key becomes active. The request appears in GET /v1/approvals.
"19331"