Skip to content

Disassociate Workspace

connect_disassociate_workspace R Documentation

Removes the association between a workspace and one or more users or routing profiles

Description

Removes the association between a workspace and one or more users or routing profiles.

Usage

connect_disassociate_workspace(InstanceId, WorkspaceId, ResourceArns)

Arguments

InstanceId

[required] The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

WorkspaceId

[required] The identifier of the workspace.

ResourceArns

[required] The Amazon Resource Names (ARNs) of the resources to disassociate from the workspace.

Value

A list with the following syntax:

list(
  SuccessfulList = list(
    list(
      ResourceArn = "string"
    )
  ),
  FailedList = list(
    list(
      ResourceArn = "string",
      ErrorCode = "string",
      ErrorMessage = "string"
    )
  )
)

Request syntax

svc$disassociate_workspace(
  InstanceId = "string",
  WorkspaceId = "string",
  ResourceArns = list(
    "string"
  )
)