Look up the resources in an access policy
GET/api/v1/AccessControlPolicy/Lookup/:policyId/Resource
Returns a map of resource ID to resource name for a resource access policy, including resources that come from resource groups. Calling it on a policy of another type returns an error.
Permission required: Administrator role, or a user whose custom role grants the Access Policies permission for this access policy.
Request
Responses
- 200
- 400
- 401
- 403
- 404
Returns an object whose keys are resource IDs and whose values are resource names.
The lookup failed, for example because the policy is not a resource policy.
The signed-in user is not allowed to work with this access policy.
The signed-in user does not have the required role or permission.
The access policy does not exist.