PUT
/
{group}
curl --request PUT \
  --url https://api.altostrat.io/{group} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "schedule_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "mute": "schedule-active",
  "recipients": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "topics": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "sites": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "notifiables": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "channel": "whatsapp"
    }
  ]
}'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "schedule_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "mute": "schedule-active",
  "recipients": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "notifiables": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "channel": "<string>"
    }
  ],
  "topics": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "sites": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

group
string
required

The UUID of the group

Body

application/json

Group update payload

The body is of type object.

Response

200
application/json

Updated group resource

The response is of type object.