List all access policies
GET/iam/v1/access_policies
List all access policies. If role
or principal
is specified,
this returns all access policies using the specified role or
or that is assigned to the identified principal.
Request
Query Parameters
The role that you want to use for this list operation.
The email address of the principal that you want to use for this list operation.
Responses
- 200
Successful response.
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
Default value: 1
Total count of the items
items object[]required
Access policy unique identifier.
The lowest level TSG to which the access policy belongs.
The email address of the user or service account that is granted this access policy.
firstname lastname OR firstname OR username.
Whether the principal is a user or a service account.
The resource to which this access policy is assigned. It is in the format:
prn:<TSG_ID>::::
The role used for this access policy.
{
"count": 1,
"items": [
{
"id": "9d5104a0-1b0e-4f1d-be40-87f7810327e9",
"inherited_from": "1234567890",
"principal": "user@paloaltonetworks.com",
"principal_display_name": "firstname lastname",
"principal_type": "user",
"resource": "prn:123::::",
"role": "superuser"
}
]
}