curl --request GET \
--url https://api.opal.dev/v1/groups/{group_id}/resources \
--header 'Authorization: Bearer <token>'{
"group_resources": [
{
"group_id": "7870617d-e72a-47f5-a84c-693817ab4567",
"resource_id": "1520617d-e72a-47f5-a84c-693817ab48ad2",
"access_level_remote_id": ""
},
{
"group_id": "50333e67-73ce-47ab-b049-d8abcd45f7a1",
"resource_id": "6f99639b-7928-4043-8184-47cbc6766145",
"access_level_remote_id": "write"
}
]
}Gets the list of resources that the group gives access to.
curl --request GET \
--url https://api.opal.dev/v1/groups/{group_id}/resources \
--header 'Authorization: Bearer <token>'{
"group_resources": [
{
"group_id": "7870617d-e72a-47f5-a84c-693817ab4567",
"resource_id": "1520617d-e72a-47f5-a84c-693817ab48ad2",
"access_level_remote_id": ""
},
{
"group_id": "50333e67-73ce-47ab-b049-d8abcd45f7a1",
"resource_id": "6f99639b-7928-4043-8184-47cbc6766145",
"access_level_remote_id": "write"
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The ID of the group.
The resources that the group gives access to.
Show child attributes
The ID of the group.
"f454d283-ca87-4a87-bdbb-df212eca5353"
The ID of the resource.
"b5a5ca27-0ea3-4d86-9199-2126d57d1fbd"
The AccessLevel object is used to represent the level of access that a principal has. The "default" access
level is a AccessLevel object whose fields are all empty strings.
View the AccessLevel of a resource/user or resource/group pair to see the level of access granted to the resource.
Show child attributes
The human-readable name of the access level.
"AdminRole"
The machine-readable identifier of the access level.
"arn:aws:iam::590304332660:role/AdministratorAccess"
{
"access_level_name": "AdminRole",
"access_level_remote_id": "arn:aws:iam::590304332660:role/AdministratorAccess"
}Was this page helpful?