Switch a rule to Enforce mode
POST/vedsdk/sshrules/rule/enforce
Switches the rule identified by HostId and Account to Enforce mode. In Enforce mode, the rule refuses any key that has not been allowed.
Succeeds without changes if the rule is already in Enforce mode.
Required scope: sshrules:manage
Request
Responses
- 200
- 400
- 403
- 404
- 500
The rule is in Enforce mode.
HostId or Account is missing or too long.
The caller does not have Write permission on the SSH authorization profile.
No rule exists for this HostId and Account.
An unexpected error occurred.