policies
Check Resource For Approval
Checks the policy that is associated with a resource if it requires approval, if yes, this will create an approval request. If the policy indicates that it does require approval, this will wait for the user to approve or reject the request before returning back the final response and HTTP CODE. 200 = approved or didn't require approval, 403 = rejected by the user.
get/api/v1/policies/resources/{resource_name}/approval
Request
- Base URL: http://localhost:8080
- URL: http://localhost:8080/api/v1/policies/resources/{resource_name}/approval
- Auth: API key in header X-ONEGREP-API-KEY
Path parameters
resource_namestring required
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 1 revision of this API.