DELETE
/v2/organizations/{organizationId}/slack/workspaces/{workspaceId}Disconnect a Slack workspace
Disconnects a Slack workspace from an organization. Specify both the organization and workspace identifiers to remove the connection.
workspaceIdintegerrequired
The numeric identifier of the Slack workspace to disconnect.
organizationIdintegerrequired
The numeric identifier of the organization to disconnect the workspace from.
200Confirms that the Slack workspace was disconnected from the organization.
400Returned when the request is invalid.
codestringrequired
paramsarray<object>optional
401Returned when the request is not authenticated.
codestringrequired
paramsarray<object>optional
403Returned when the authenticated user does not have permission to disconnect the workspace.
codestringrequired
paramsarray<object>optional
404Returned when the organization or Slack workspace connection does not exist.
codestringrequired
paramsarray<object>optional
Error handling
A 400 indicates an invalid request, a 401 indicates missing or invalid authentication, a 403 indicates insufficient permission, and a 404 indicates that the organization or workspace was not found. The workspaceId path parameter and the organizationId path parameter must identify the workspace connection to remove.