POST/api/v2/policies/{id}/ssh-hosts/retry
access:applyAPI token
Queue the rule again on its hosts in state failed, unreachable, pending or revoke_pending only. Hosts where the rule is applied are not touched.
Parameters
Path1 required of 1
idstringpathrequired
Rule ID (UUID)
Responses
202
Accepted
SSHRetryResponse · 1 field
job_idstring · uuidrequired
409
Conflict
422
Unprocessable: Principal doesn't manage the target, so it doesn't change access on it (code request.unprocessable). Switch the target to managed, then try again. Before v7.3 this answer was 403 authorization.denied.
Common errors: 400 401 403 404 429 504. They mean the same for every operation, see Errors.