deleteChannel

Disconnect a channel. Requires project.channels.write; API keys also need delete scope.

Arguments

  • projectReferenceID!required

    Project UUID or slug.

  • channelIdID!required

    Channel to disconnect; the Slack connection is retained.

Responses

mutation DeleteChannel($projectReference: ID!, $channelId: ID!) {  deleteChannel(projectReference: $projectReference, channelId: $channelId) {    ok  }}
{  "data": {    "deleteChannel": {      "ok": false    }  }}

The DeletionResult! in data.deleteChannel.