cURL
curl --request PUT \ --url https://api.opal.dev/v1/groups/{group_id}/resources \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "group_resources": [ { "resource_id": "1520617d-e72a-47f5-a84c-693817ab48ad2", "access_level_remote_id": "" }, { "resource_id": "6f99639b-7928-4043-8184-47cbc6766145", "access_level_remote_id": "write" } ] } '
Sets the list of resources that the group gives access to.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The ID of the group.
Show child attributes
The ID of the resource.
"b5a5ca27-0ea3-4d86-9199-2126d57d1fbd"
"write"
The group resource were successfully set.
Was this page helpful?