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
name
string
required

The name of the user group.

Required string length: 1 - 60
handle
string
required

The handle of the user group.

Required string length: 1 - 60
description
string

The description of the user group.

Maximum length: 140

Response

200
application/json
Default Response
user_group
object
required