Docs
Live demo
GET/api/v2/targets/{id}/access-profiles
access:readAPI token

Retrieve durable exact-match access-profile recommendations for a target.

Parameters

Path and query1 required of 2
idstringpathrequired

Target ID (UUID)

include_dismissedbooleanquery

Include dismissed recommendations

Responses

200

OK

ListAccessProfilesResponse · 1 field
itemsarray of AccessProfileResponse
20 fields
idstring
organization_idstring
target_idstring
enginestring
canonical_signaturestring
account_key_hashstring
rulesarray of PolicyRuleResponse
3 fields
permissionsarray of string
resourcesarray of string
originstring (AccessOrigin)

Where a row of a rule came from: written in the rule, materialized from its template, or imported from the live account at adoption or by the one-off import after an upgrade. An imported row is part of the desired state like any other row.

ruletemplateimported
5 fields
display_namestring
identity_idstring
evidencemap of string → any
skipped_accountsarray of AccessProfileAccountResponse
5 fields
display_namestring
identity_idstring
evidencemap of string → any
evidencemap of string → any
riskstring
lowhigh
2 fields
reasonstring
detailstring
statusstring
suggestedadoptingadopteddismissedstale
template_namestring
template_versioninteger
suggested_template_namestringrequired

Name to give the rule template adopted from this profile, after the access it grants (for example "Read access to billing"). Never contains the profile signature.

source_job_idstring
created_atstring
updated_atstring
expires_atstring

Common errors: 400 401 403 404 429 504. They mean the same for every operation, see Errors.

↑ ↓ to moveEnter to openEsc to close