Register a public key
Registers a public key the application signs its token requests with (private_key_jwt), for example to rotate keys. Requires organization:update. A key already registered for the application, even revoked, is refused (409), as are more than 5 active keys.
/organizations/{organizationId}/oauth-clients/{clientId}/keysAuthorizationBearer token (JWT) · headerrequiredAn access token issued by this service (RFC 9068), in the Authorization header as Bearer <token>.
organizationIdstring<uuid>requiredclientIdstring<uuid>requiredThe client's id, the uuid in its cli_<id> client_id.
application/jsonjwkpublic_jwkrequiredA public signing key (RFC 7517) - EC P-256, P-384 or P-521, Ed25519 (OKP), or RSA of 2048 bits or more. Private members are refused; use, when present, must be sig.
The registered key.
idstring<uuid>requiredkidstringrequiredThe key's RFC 7638 SHA-256 thumbprint. Client assertions may name the key by it, or by the jwk's own kid, in their kid header.
jwkpublic_jwkrequiredA public signing key (RFC 7517) - EC P-256, P-384 or P-521, Ed25519 (OKP), or RSA of 2048 bits or more. Private members are refused; use, when present, must be sig.
created_atstring<date-time>requiredrevoked_atstring<date-time>Set once the key is revoked; assertions it signs are refused.
The request failed.
errorstringrequiredStable machine-readable code.
invalid_requestunauthorizedforbiddennot_foundconflictgoneunavailableinternalmessagestringrequiredHuman-readable explanation.