cURL
curl --request PUT \ --url https://api.opal.dev/v1/resources/{resource_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" ]
Sets the list of reviewers for a resource.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The ID of the resource.
A list of reviewer IDs.
The updated IDs of owners that are reviewers for this resource
Was this page helpful?