Rename Public-Key Credential

Rename the credential. All security-relevant fields are immutable. Requires api_key_update.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

api_key_idUUIDRequired

Public-key credential ID returned by registration.

Request

This endpoint expects an object.
namestringRequired1-256 characters

Response

This endpoint returns an object.
api_key_idUUID

Server-generated credential ID. Store this value as the signing key’s kid.

type"public_key"

Server-owned credential discriminator. Callers cannot select or update it.

namestring

Human-readable credential name.

public_keyobject

Registered public key material and its server-computed RFC 7638 thumbprint.

scopeobject

The immutable scope in which a public-key credential can approve AgentID sign-in.

created_atdatetime
updated_atdatetime
expires_atdatetimeOptional
Immutable absolute expiry. Omitted when the credential does not expire.
revoked_atdatetimeOptional

Present when organization-wide revoke-all invalidated this credential generation.

Errors

400
Validation Error
404
Not Found Error