resources
GET /resources/{resource_id}/scoped-role-permissions
Changed onReturns all the scoped role permissions that apply to the given resource. Only OPAL_SCOPED_ROLE resource type supports this field.
Request
- Base URLhttps://api.opal.dev/v1
- AuthHTTP bearer
Path parameters
resource_idstring uuid required
The ID of the resource whose scoped role permissions belong to.
Response
The role permissions that this Opal Scoped Role has.
Example response
{
"permissions": [
{
"target_ids": [
"a381e7a3-e5e0-4c48-b1d6-4ccb4c191bc1",
"8294e9c9-deb6-48e9-9c99-da2a1e04a87f"
],
"target_type": "RESOURCE",
"permission_name": "READ"
}
]
}Changes
- warning
added the new
EVENTenum value to the//response property for the response status
- warning