Revoke a signing key of OAuth credentials
Deletes a key of OAuth credentials at once, for when a key may have leaked: it drops out of the published set immediately rather than being kept for 30 days. Revoking never causes an outage.
Without a kid, revokes the key Fireblocks is signing with: signing switches to the successor, which your authorization server already holds, and a new successor is generated. A cached access token is discarded, so the next delivery fetches a new one.
With the successor’s kid, deletes the successor and generates a new one; signing is unchanged. With the kid of a key rotated out by rotate_key and still published, deletes that key, and a cached access token is discarded as well. Keys left behind by a signingAlg change drop out of the published set after 5 minutes but are kept for 30 days, and can be revoked by kid until then. Credentials using private_key_jwt always keep a key to sign with.
On credentials that no longer use private_key_jwt, whose keys stay published for 30 days after the switch, a kid is required: that key is deleted and nothing is generated. The last key they hold can be revoked too, leaving an empty set.
Returns the kid of the key revoked, which without a kid in the request is the key Fireblocks was signing with. The public keys are at the jwksUri of the credentials: fetch them again, or register the new successor with your authorization server. Use rotate_key for a routine rotation, which keeps the replaced key published for 30 days.
Endpoint Permissions: Owner, Admin, Non-Signing Admin.
Headers
Path Parameters
Body
Which key to revoke. Omit kid, or send an empty body, to revoke the key Fireblocks is signing with.
The kid of the key to revoke, as the JWKS at jwksUri lists it: the signing key, its successor, a key rotated out and still published, or a key left behind by a signingAlg change within its 30 days. Omit to revoke the signing key; null is refused rather than read as omitted. Required on credentials that no longer use private_key_jwt.
1 - 64"a1b2c3d4e5f60718..."
Response
The key was revoked; the kid of the key revoked
The key that was revoked. It is no longer published at the jwksUri of the credentials. Fetch the JWKS from there for the current public keys.