delete_slack_workspace_configuration
¶
delete_slack_workspace_configuration(
team_id: teamId, *, config_overrides: Optional[SupportAppClientConfig] = None
) -> DeleteSlackWorkspaceConfigurationResult
Deletes a Slack workspace configuration from your Amazon Web Services account. This operation doesn't delete your Slack workspace.
Parameters:
-
team_id(teamId) –The team ID in Slack. This ID uniquely identifies a Slack workspace, such as
T012ABCDEFG.
Raises:
-
AccessDeniedException–You don't have sufficient permission to perform this action.
-
ConflictException–Your request has a conflict. For example, you might receive this error if you try the following:
-
Add, update, or delete a Slack channel configuration before you add a Slack workspace to your Amazon Web Services account.
-
Add a Slack channel configuration that already exists in your Amazon Web Services account.
-
Delete a Slack channel configuration for a live chat channel.
-
Delete a Slack workspace from your Amazon Web Services account that has an active live chat channel.
-
Call the
RegisterSlackWorkspaceForOrganizationAPI from an Amazon Web Services account that doesn't belong to an organization. -
Call the
RegisterSlackWorkspaceForOrganizationAPI from a member account, but the management account hasn't registered that workspace yet for the organization.
-
-
InternalServerException–We can’t process your request right now because of a server issue. Try again later.
-
ResourceNotFoundException–The specified resource is missing or doesn't exist, such as an account alias, Slack channel configuration, or Slack workspace configuration.
-
ValidationException–Your request input doesn't meet the constraints that the Amazon Web Services Support App specifies.
-
UnknownServiceError–The service returned an error code this client does not model.