Check for permission on resource(s) for a principal
These are the checks to perform for Access Control.
required | Array of objects (PermissionCheck) [ 0 .. 10000 ] items List of permission checks to perform |
object (AuthzPrincipal) |
Bad Request
Internal server error
Result of the access check request
{- "permissions": [
- {
- "resourceScope": {
- "accountIdentifier": "string",
- "orgIdentifier": "string",
- "projectIdentifier": "string"
}, - "resourceType": "string",
- "resourceAttributes": {
- "property1": "string",
- "property2": "string"
}, - "resourceIdentifier": "string",
- "permission": "string"
}
], - "principal": {
- "scopeLevel": "string",
- "identifier": "string",
- "type": "USER",
- "uniqueId": "string"
}
}
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}