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.
Debugging
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:
|
ObjectId | Long | Yes | 9*** |
The ID of the object.
|
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:
|
Examples
Sample requests
http(s)://dms-enterprise.aliyuncs.com/?Action=DeleteLhMembers
&ObjectType=1
&ObjectId=9***
&MemberIds=[50****,51****]
&Tid=3***
&Common request parameters
Sample responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<DeleteLhMembersResponse>
<RequestId>F1C78D32-1AFD-58AD-9DD2-C8A0896969DD</RequestId>
<Success>true</Success>
</DeleteLhMembersResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "F1C78D32-1AFD-58AD-9DD2-C8A0896969DD",
"Success" : true
}
Error code
For a list of error codes, visit the Error Center.