Get an access policy
GET/iam/v1/access_policies/:id
Get an access policy by ID.
Request
Path Parameters
id stringrequired
Access policy's unique identifier.
Responses
- 200
Successful response - returns a single access_policy
.
- application/json
- Schema
- Example (from schema)
Schema
principal string
The email address of the user or service account that is granted this access policy.
principal_display_name string
firstname lastname OR firstname OR username.
principal_type string
Whether the principal is a user or a service account.
resource string
The resource to which this access policy is assigned. It is in the format:
prn:<TSG_ID>::::
role string
The role used for this access policy.
{
"principal": "username@paloaltonetworks.com",
"principal_display_name": "username",
"principal_type": "user",
"resource": "prn:123::::",
"role": "superuser"
}
Loading...