Update
Update the add_bot_to_group flag on a sync target. The change propagates to every schedule with an active sync rule pointing at this target; the entire operation aborts if the caller lacks edit permission on any of those schedules.
Authorizations
API key from your incident.io dashboard (Settings → API keys)
Path Parameters
The sync target ID
"abc123"
Body
Response
OK response.
A sync target is the link between incident.io and a single Slack user group, used to keep that group's membership in step with who is currently on call.
A target identifies the group by its Slack user group ID and Slack team ID, and remembers whether the incident.io bot should be added to the group so it can manage membership. On its own a target does nothing: you link it to a schedule by creating a schedule sync rule (see the Schedules service), and that rule decides which schedule members flow into the group. As the schedule's shifts change hands, we update the Slack user group to match.
A single target can be referenced by sync rules on several schedules at once; linked_schedules lists every schedule with an active rule pointing at it.