Slack channel activation

The immutable consent-transition audit trail of one Slack channel

Changed on
get/workspaces/{workspaceSlug}/slack/channels/{slackChannelId}/consent-events

Request

  • Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /workspaces/{workspaceSlug}/slack/channels/{slackChannelId}/consent-events
  • Auth: HTTP bearer

Path parameters

workspaceSlugstring required

Workspace slug

slackChannelIdstring required

Response

OK

actorUserIdinteger

Workspace user id of the admin who made the change

createdAtstring date-time required

When the transition was recorded

fromState'PENDING' | 'ACTIVE' | 'PAUSED' | 'REVOKED'

State the channel left (absent for the very first record)

idinteger required

Audit entry id

reasonstring

Optional free-text reason the admin supplied

slackChannelIdstring required

Slack channel id the transition applied to

toState'PENDING' | 'ACTIVE' | 'PAUSED' | 'REVOKED' required

State the channel entered

Changes

    • breaking

      for the path request parameter workspaceSlug, the minLength was increased from 0 to 3

    • warning

      for the path request parameter workspaceSlug, the maxLength was set to 51

    • warning

      changed the pattern of the path request parameter workspaceSlug from ^[a-z0-9][a-z0-9-]{2,50}$ to ^(?!.*--)[a-z0-9][a-z0-9-]{1,49}[a-z0-9]$