Skip to main content
PUT
/
groups
/
{group_id}
/
reviewers
cURL
curl --request PUT \
  --url https://api.opal.dev/v1/groups/{group_id}/reviewers \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "reviewer_ids": [
    "7870617d-e72a-47f5-a84c-693817ab4567",
    "1520617d-e72a-47f5-a84c-693817ab48ad2"
  ]
}'
[
  "1b978423-db0a-4037-a4cf-f79c60cb67b3"
]

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

A list of reviewer IDs.

reviewer_ids
string<uuid>[]
required

Response

200 - application/json

The updated IDs of owners that are reviewers for this group

The response is of type string<uuid>[].