PUT
/
schedules
/
{schedule_id}
/
slack_user_group
curl --request PUT \
  --url https://api.shiftkeeper.io/schedules/{schedule_id}/slack_user_group/ \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "name": "Incident responders",
  "handle": "incident-responders"
}'
{
  "user_group": {
    "id": "S083J1KTL9X",
    "name": "Incident responders",
    "handle": "incident-responders"
  }
}

Authorizations

x-api-key
string
header
required

Enter your API key which starts with 'keeper_'

Path Parameters

schedule_id
string
required

The ID of the schedule.

Body

application/json

Response

200
application/json

Default Response

The response is of type object.