owners

PUT /owners/{owner_id}/users

Changed on

Sets the list of users for this owner. If escalation is enabled, the order of this list is the escalation priority order of the users. If the owner has a source group, adding or removing users from this list won't be possible.

Request

  • Base URL
    https://api.opal.dev/v1
  • Auth
    HTTP bearer

Path parameters

owner_idstring uuid required

The ID of the owner.

Request body

user_idsstring[] required

Example request

{
  "user_ids": [
    "7870617d-e72a-47f5-a84c-693817ab4567",
    "1520617d-e72a-47f5-a84c-693817ab48ad2"
  ]
}

Response

The updated users for the owner.

Example response

{
  "users": [
    {
      "user_id": "29827fb8-f2dd-4e80-9576-28e31e9934ac",
      "email": "john.doe@company.dev",
      "full_name": "John Doe",
      "first_name": "John",
      "last_name": "Doe",
      "position": "Engineer"
    }
  ]
}

Changes