Skip to main content
PUT
/
groups
/
{group_id}
/
resources
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"
    }
  ]
}'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

group_id
string<uuid>
required

The ID of the group.

Body

application/json
resources
object[]
required

Response

200

The group resource were successfully set.