Revoke a key
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.
API-KeyX-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>
The unique identifier of the key.
Response
The key was revoked successfully
Errors
curl -X PUT "https://your-domain.us.monocloud.com/api/keys/tXcwKNmJfReWTjVIP6Wtd/revoke" \ -H "X-API-KEY: <token>"Rotate a key PUT
Rotates the specified cryptographic key by generating a new key version and promoting it as the active signing key. The previous key is retained for validation to ensure continuity for previously issued tokens.
Retrieve authentication options GET
Retrieves the current authentication configuration, including enabled authenticators, sign-in and sign-up behavior, and external identity provider settings.