latestOpenAPI 3.0.32026-08-19400919.9 MB

339d55de6905

kms

Update an issuer policy

Update an existing KMS issuer policy's environments or token claims.

patch/v1/kms/issuers/{issuerId}/policies/{kind}/{policyKey}

Path parameters

issuerIdstring required

The ID of the issuer.

The ID of the issuer.

kind'project-grant' required

The issuer policy kind.

The issuer policy kind.

policyKeystring required

The policy identifier.

The policy identifier.

Query parameters

teamIdstring
Example:team_1a2b3c4d5e6f7g8h9i0j1k2l

The Team identifier to perform the request on behalf of.

slugstring
Example:my-team-url-slug

The Team slug to perform the request on behalf of.

Request body

environmentsstring[]

The environments for the project grant policy. Each entry is a system environment (production, preview, development) or a custom environment ID (env_...).

tokenClaimsobject nullable

The claims that KMS should include in signed JWTs for this policy. Pass null to remove them.

Response

OR