v5

latestOpenAPI 3.1.02026-07-31151195455.5 KB
owners

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.

put/owners/{owner_id}/users

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"
    }
  ]
}