Creates a Yike user.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| WorkspaceId |
string |
Yes |
The workspace ID. |
llm-az2gglkjauwnnhpq |
| UserNamePrefix |
string |
Yes |
The user name prefix for the sub-account. The prefix must meet the following requirements:
|
test.xxx@xxx.yikeai |
| Nickname |
string |
Yes |
The user's nickname. |
nick |
| Password |
string |
Yes |
The user's password. |
*** |
| ProductionIds |
string |
Yes |
The IDs of productions to add the user to. You can specify multiple IDs separated by commas. Note
|
id1,id2 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
****63E8B7C7-4812-46AD-0FA56029AC86**** |
| UserInfo |
object |
The user information. |
|
| UserId |
string |
The user ID. |
id |
| UserName |
string |
The user name. |
name |
| Nickname |
string |
The user's nickname. |
nick |
| WorkspaceId |
string |
The workspace ID. |
spaceId |
Examples
Success response
JSON format
{
"RequestId": "****63E8B7C7-4812-46AD-0FA56029AC86****",
"UserInfo": {
"UserId": "id",
"UserName": "name",
"Nickname": "nick",
"WorkspaceId": "spaceId"
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.