|docs
Start Trial

Update a Slack Connection

Update an existing Slack Connection.

Note: For accounts using the New Slack Configuration, submitting this request rebuilds the channel's PCL (PagerDuty Condition Language) filter from the config.urgency and config.priorities values in the request payload. Any PCL conditions previously configured through the Slack web UI will be overridden.

Important

Ensure you are using a User API Token or a User OAuth Token to make requests to this API. Also, check that your user has necessary permissions (Owner or Global Admin). See https://developer.pagerduty.com/docs/rest-api-v2/authentication/ for the details.

Scoped OAuth requires: services.read users.read

Authorization<token>

The API Key with format Token token=<API_KEY>

In: header

Path Parameters

slack_team_id*string

Slack team (workspace) id

connection_id*string

Slack connection id

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json