OUTCOME · Create or advance
What changes
Creates or advances only the workload client resource described by this contract after authorization, validation, policy, and idempotency gates pass.
v2Identity login policy
/api/v2/admin/identity/workload-clientsPURPOSE + BUSINESS CONTEXT
WHEN THIS CALL IS USEFUL
Call this when an identity, compliance, relying-party, or trust agent workflow needs to apply the documented workload client transition after re-reading the current authoritative state so it can make a purpose-limited identity or assurance decision with current policy and lifecycle state.
OUTCOME · Create or advance
Creates or advances only the workload client resource described by this contract after authorization, validation, policy, and idempotency gates pass.
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_…
tenant_uuidbodyRequiredidentifierTenant that owns the machine identity.
labelbodyRequiredstring · max 160Operational name.
allowed_scopesbodyRequiredbusiness scope[]Explicit least-privilege grant; administrative scopes are rejected.
public_key_jwkbodyRequiredOKP Ed25519 public JWKClient public key.
proofbodyRequiredbase64url Ed25519 signatureProof over the canonical registration statement and domain prefix.
step_up_tokenbodyRequiredhcsu_ tokenFresh WORKLOAD_CLIENT_REGISTRATION authorization.
REQUEST
{
"tenant_uuid": "b00dc220da8f480d86cdc11341372746",
"label": "Settlement worker",
"allowed_scopes": [
"wallet"
],
"public_key_jwk": {
"kty": "OKP",
"crv": "Ed25519",
"x": "…"
},
"proof": "…",
"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_…",
"tenant_uuid": "b00dc220da8f480d86cdc11341372746",
"label": "Settlement worker",
"algorithm": "ed25519",
"allowed_scopes": [
"wallet"
],
"status": "ACTIVE"
}{
"code": "invalid_security_request",
"message": "The key, scope set, or proof is malformed."
}invalid_security_request{
"code": "invalid_credentials",
"message": "The administrator bearer is invalid."
}invalid_credentials{
"code": "step_up_required",
"message": "Administrator authority, key possession, or matching step-up is missing."
}step_up_required{
"code": "identity_security_unavailable",
"message": "Registration 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 ↗