Revoke a key

View as Markdown
PUT
/keys/{key_id}/revoke

Revokes the specified cryptographic key, marking it as untrusted and immediately preventing it from being used for token signing or validation.

This operation is irreversible. Previously issued tokens that rely on this key may no longer be considered valid, depending on the validation strategy.

Authorization

API-Key
headerX-API-KEY<token>

MonoCloud APIs require authentication with an API key. Retrieve your key from the Tenant Settings section of the MonoCloud dashboard and include it in the request header as: X-API-Key: <your_api_key>

Path Parameters

key_id*string

The unique identifier of the key.

Response

204

The key was revoked successfully

Errors

401Unauthorized
403Forbidden

curl -X PUT "https://your-domain.us.monocloud.com/api/keys/tXcwKNmJfReWTjVIP6Wtd/revoke" \  -H "X-API-KEY: <token>"
Empty
© 2026 MonoCloud. All rights reserved.