Skip to main content

Deny a key within a rule

POST 

/vedsdk/sshrules/rule/key/deny

Denies the key under the rule identified by HostId and Account. Other rules with the same key are not changed.

The decision takes effect only while the rule is in Enforce mode.

A key that is revoked, has expired, or was replaced under this rule by a key rotation cannot be denied: it is already refused, so the request is turned away rather than recorded. A key a rotation is replacing can still be denied until its grace period ends, which ends its access under this rule straight away.

Required scope: sshrules:manage

Request​

Responses​

The rule denies the key.