OUTCOME · Create or advance
What changes
Activates the replacement public key, changes the derived request-signing key ID, records a rotation commitment, and immediately revokes every active workload bearer.
v2Identity login policy
/api/v2/admin/identity/workload-clients/{client_id}/rotationsPURPOSE + BUSINESS CONTEXT
WHEN THIS CALL IS USEFUL
Rotate a workload request-signing key when planned key hygiene, suspected exposure, or custody migration requires a replacement without changing client identity or allowed scopes.
OUTCOME · Create or advance
Activates the replacement public key, changes the derived request-signing key ID, records a rotation commitment, and immediately revokes every active workload bearer.
WHY IT MATTERS
ISOLATION + AUTHORITY
Bearer subject, tenant, purpose, policy version, role, issuer, reviewer, provider, and relying-party boundaries remain distinct. The response or transition grants no payment, custody, settlement, publisher, matching, or trading authority and must not expose regulated evidence beyond the live schema.
BEFORE YOU CALL
WHAT TO DO NEXT
AGENT GUIDANCE
The exact deployed parameters, schemas, responses, security requirements, and Hybrid-Chain agent metadata are authoritative at this operation's production OpenAPI JSON Pointer. The readable tables below add integration guidance; the deployed OpenAPI controls if guidance and the machine contract ever differ.
Open the authoritative production contract ↗EXTENDED INTEGRATION GUIDANCE
Examples illustrate integration intent; the referenced OpenAPI operation and component schemas define the executable shape.
PARAMETERS
AuthorizationheaderRequiredBearer tokenCredential containing the admin:identity:write scope.EXAMPLEBearer hc_live_…
client_idpathRequiredhcwc_ identifierActive tenant-scoped workload client whose key is being replaced.
public_key_jwkbodyRequiredOKP Ed25519 public JWKReplacement public request-signing key. Private key material is forbidden.
proofbodyRequiredbase64url Ed25519 signatureReplacement-key signature over hybrid-chain/workload-client-key-rotation/v1, a NUL byte, and canonical key-sorted JSON containing algorithm, client_id, new_public_key_jwk, and tenant_uuid.
step_up_tokenbodyRequiredone-use hcsu_ tokenFresh WORKLOAD_CLIENT_KEY_ROTATION authorization from the current administrator session.
REQUEST
{
"public_key_jwk": {
"kty": "OKP",
"crv": "Ed25519",
"x": "base64url-32-byte-public-key"
},
"proof": "base64url-ed25519-signature",
"step_up_token": "hcsu_…"
}STABLE ERROR CODES
These codes are published by the authoritative gateway contract for this endpoint. Treat message as safe diagnostic text; integrations should branch on code and HTTP status.
invalid_jsonThe JSON body is malformed or fails the published identity-security schema.invalid_security_requestThe session, scope, public key, proof, or purpose-bound security request is invalid.invalid_credentialsThe bearer, client assertion, or proof-of-possession credential is invalid.step_up_requiredFresh purpose-bound authenticator verification or stronger authority is required.signing_key_not_foundThe requested signing-key or workload-client resource was not found.security_conflictThe requested identity-security transition conflicts with current state.identity_security_unavailableThe authoritative Identity security service is temporarily unavailable.RESPONSES
{
"client_id": "hcwc_…",
"status": "ACTIVE",
"previous_request_signing_key_id": "hck_old…",
"request_signing_key_id": "hck_new…",
"rotation_commitment": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"active_access_tokens_revoked": true
}{
"code": "invalid_security_request",
"message": "The replacement JWK or proof is malformed."
}invalid_security_request{
"code": "invalid_credentials",
"message": "The administrator bearer is invalid."
}invalid_credentials{
"code": "step_up_required",
"message": "Tenant authority, replacement-key possession, or matching step-up is missing."
}step_up_required{
"code": "signing_key_not_found",
"message": "The active workload client was not found."
}signing_key_not_found{
"code": "identity_security_unavailable",
"message": "Workload identity administration is unavailable."
}identity_security_unavailableOPERATIONAL NOTES
This route is implemented in canonical gateway source and appears in the production OpenAPI snapshot observed 2026-09-11T06:35:11.572Z. Authentication, tenant, feature, venue, and market policy still apply.
Verify the exact production OpenAPI operation ↗Return to the V2 directory ↗