All Products
Search
Document Center

Data Management:RemoveWorkspaceUser

Last Updated:Apr 20, 2026

Removes a user from a workspace.

Operation description

Prerequisites

  • A VPC has been created.

  • Log on to the DMS console using an Alibaba Cloud account (root account) or a RAM user with the required permissions, and grant DMS permissions to access cloud resources (AliyunDMSProcessingDataRolePolicy).

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

WorkspaceId

string

Yes

The ID of the workspace.

12****

DmsUserIds

string

Yes

The IDs of the DMS users.

123***

Response elements

Element

Type

Description

Example

object

The data returned.

RequestId

string

The ID of the request.

E5EE2B9E-2F95-57FA-B284-CB441CEE49D6

Success

boolean

Indicates whether the request succeeded:

  • true: The request succeeded.

  • false: The request failed.

true

Data

boolean

Indicates whether the users were successfully removed from the workspace.

true

Examples

Success response

JSON format

{
  "RequestId": "E5EE2B9E-2F95-57FA-B284-CB441CEE49D6",
  "Success": true,
  "Data": true
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.