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
- 200
- 400
- 403
- 404
- 500
The key is revoked. The response contains the number of rules and hosts the revoke affected.
FingerprintSHA256 is missing or invalid.
The caller does not have Write permission on the SSH authorization profile.
No key has this fingerprint.
An unexpected error occurred.