OnCall

Set where a team is talked to

put/api/{org_id}/oncall/teams/{team_id}/channel

Request

Path parameters

org_idstring required

Organization name

team_idstring required

Team ID

Request body

clear_slackboolean

Empties the team's Slack channel and its same-room destination.

destinationsstring[] nullable
slack_same_room_destinationstring nullable

RO-1: the team's webhook that posts to its Slack room; omitted keeps it, "" unticks it.

Response

Success

slack_channel_namestring nullable

Display only.

slack_channel_setboolean required
slack_connectedboolean required

The org has an active Slack app installation.

slack_nativeboolean required

Pages post in the channel through a Slack app installation serving the org.

slack_post_problemstring nullable

RO-2: "Pages can't post to #{channel}: {reason}".

slack_same_room_destinationstring nullable

Only while it is still one of the team's webhook destinations.

slack_unavailable_reasonstring nullable

SA-8 / RO-2: why pages cannot post in Slack.

destinationsstring[] required
sourcestring required

team or policy, or "pages still go to the old room" is unanswerable from the API.

team_idstring required

Changes

No recorded changes to this operation across all 1 revision of this API.