Find the access policy for an account, resource and activity
GET/api/v1/AccessControlPolicy/PolicySearch
Returns the access policy that lets a managed account run an activity on a resource. The resource is matched by host name, name or IP address, and the activity by name. Use getAll to return every matching policy instead of the first.
Permission required: Any signed-in user (own account), or Administrator or application role for any account.
Request
Responses
- 200
- 400
- 403
- 404
Returns one access policy, or an array when getAll is true.
activityName or resourceName is missing, no resource or activity matches, or the search failed.
The user is not an administrator or application and the ID is not their own account.
No matching access policy was found.