Search the resources in an access policy
GET/api/v1/AccessControlPolicy/SearchResources/:accessPolicyId
Lists the resources, resource groups and secret vaults that are already part of an access policy, with paging, sorting and text filtering.
Permission required: Administrator, or a custom role with the Access Policies permission on this policy.
Values for entityType: 0 = Resource, 1 = ResourceGroup, 2 = SecretVault.
Request
Responses
- 200
- 400
- 401
- 403
A page of resources, resource groups or secret vaults, with the total number of matches.
No access policy id was supplied or the search failed.
Returned to a custom-role user who is not allowed to work with this policy.
The caller is not an administrator and has no access-policy custom role.