Skip to main content

Revoke a key

POST 

/vedsdk/sshrules/key/revoke

Revokes the key everywhere. The key is refused under every rule that has it. This API provides no way to undo a revoke.

The response has the same counts as GET sshrules/key/revokeimpact, measured when the key was revoked. To see them before revoking, call GET sshrules/key/revokeimpact first.

Revoking a key that is already revoked succeeds without changes, and both counts are 0.

Required scope: sshrules:revoke

Request​

Responses​

The key is revoked. The response contains the number of rules and hosts the revoke affected.