Adds a workspace administrator, a workspace member, or a task flow developer in Data Management (DMS).
Operation description
You must call this operation as a DMS administrator, a database administrator (DBA), or a workspace administrator.
Usage notes:
- Before you call this operation to add a user as a task flow developer, make sure that you have added the user as a workspace member.
- 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.
- For more information about workspace roles and permissions, see Manage permissions on a workspace.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
ObjectType | integer | Yes | The type of the object. Valid values:
| 0 |
ObjectId | long | Yes | The ID of the object.
| 1 |
Members | array<object> | Yes | The information about the users to be added. | |
object | Yes | |||
UserId | long | Yes | 15**** | |
Roles | array | Yes | The role. Valid values:
| |
string | Yes | ADMIN | ||
Tid | long | No | The ID of the tenant. You can call the GetUserActiveTenant or ListUserTenants operation to obtain the tenant ID. | 3000 |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "31853A2B-DC9D-5B39-8492-D2AC8BCF550E",
"ErrorCode": "403",
"ErrorMessage": "UnknownError",
"Success": true
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|
No change history