Removes a workspace member or a task flow developer in Data Management (DMS).

You must call this operation as a DMS administrator, a database administrator (DBA), or a workspace administrator.

You cannot call this operation to transfer the ownership of a task flow. To transfer the ownership of a task flow, call the ChangLhDagOwner operation.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DeleteLhMembers

The operation that you want to perform. Set the value to DeleteLhMembers.

ObjectType Integer Yes 1

The type of the object. Valid values:

  • 0: workspace
  • 1: task flow
ObjectId Long Yes 9***

The ID of the object.

  • If the object is a workspace, you can call the GetLhSpaceByName operation to obtain the workspace ID.
  • If the object is a task flow, you can call the ListLhTaskFlowAndScenario operation to obtain the task flow ID.
MemberIds Array of Integer Yes [50****,51****]

The ID of the user to be removed. You can call the ListUsers or GetUser operation to obtain the user ID.

Tid Long No 3***

The ID of the tenant. You can call the GetUserActiveTenant or ListUserTenants operation to obtain the tenant ID.

RegionId String No cn-hangzhou

The ID of the region in which DMS is activated. For more information, see RegionID parameter.

Response parameters

Parameter Type Example Description
RequestId String F1C78D32-1AFD-58AD-9DD2-C8A0896969DD

The ID of the request.

ErrorCode String 403

The error code returned if the request fails.

ErrorMessage String UnknownError

The error message returned if the request fails.

Success Boolean true

Indicates whether the request is successful. Valid values:

  • true: The request is successful.
  • false: The request fails.


Sample requests

&Common request parameters

Sample responses

XML format

HTTP/1.1 200 OK


JSON format

HTTP/1.1 200 OK

  "RequestId" : "F1C78D32-1AFD-58AD-9DD2-C8A0896969DD",
  "Success" : true

Error code

For a list of error codes, visit the Error Center.