GET/api/v2/policies/{id}/ssh-hosts
access:readAPI token
For a rule on an SSH host or fleet, the status of the rule on every host it covers: applied, failed, unreachable, pending or revoke_pending, with the reason and the time.
Parameters
Path1 required of 1
idstringpathrequired
Rule ID (UUID)
Responses
200
OK
SSHRuleHostsResponse · 2 fields
10 fields
policy_idstring · uuidrequired
host_idstring · uuidrequired
host_namestringrequired
source_target_idstring · uuidrequired
The host or fleet the rule belongs to.
identity_idstring · uuidrequired
account_namestringrequired
statusstringrequired
appliedfailedunreachablependingrevoke_pending reasonstring
applied_atstring · date-time
updated_atstring · date-time
5 fields
appliedintegerrequired
failedintegerrequired
unreachableintegerrequired
pendingintegerrequired
revoke_pendingintegerrequired
Common errors: 400 401 403 404 429 504. They mean the same for every operation, see Errors.