CreateYikeUser

更新时间:
复制 MD 格式

Creates a Yike user.

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 workspace ID.

llm-az2gglkjauwnnhpq

UserNamePrefix

string

Yes

The user name prefix for the sub-account. The prefix must meet the following requirements:

  • The prefix can be up to 50 characters long and must be unique within the workspace.

  • The system automatically generates a user login name in the format: {UserNamePrefix}.{WorkspaceCode}@{AlibabaCloudUID}.yikeai.

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
  • A user can be added to multiple productions.

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.