v1

latestOpenAPI 3.0.02026-08-0650184174.6 KB
Teams

Updates a team

put/alerting/teams/{teamid}

Path parameters

teamidinteger required

ID of the team to be retrieved

Request body

namestring required

Team name

member_idsinteger[] required

IDs of contacts to be the members of this team

Example request

{
  "name": "Team Rocket",
  "member_ids": [
    1,
    4
  ]
}

Response

Successful operation

Example response

{
  "team": {
    "id": 1,
    "name": "Team Rocket",
    "members": [
      {
        "id": 1,
        "name": "John Doe",
        "type": "user"
      },
      {
        "id": 4,
        "name": "Sidekick Jimmy",
        "type": "contact"
      }
    ]
  }
}