resources
POST /resources/{resource_id}/custom-access-levels
Changed onCreates a custom access level on a resource. If the resource is a parent type, the role is created on all child resources.
Request
- Base URLhttps://api.opal.dev/v1
- AuthHTTP bearer
Path parameters
resource_idstring uuid required
The ID of the resource.
Request body
Example request
{
"access_level": {
"access_level_name": "AdminRole",
"access_level_remote_id": "arn:aws:iam::590304332660:role/AdministratorAccess"
}
}Response
The created custom access level.
Example response
{
"access_level": {
"access_level_name": "AdminRole",
"access_level_remote_id": "arn:aws:iam::590304332660:role/AdministratorAccess"
}
}Changes
- info
endpoint added
- info