CreateAccount

Updated at:

Creates a wide table account.

This API operation is applicable only to ApsaraDB for HBase Performance-enhanced Edition.

Debugging

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 CreateAccount

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

ClusterId String Yes ld-bp150tns0sjxs****

The ID of the ApsaraDB for HBase cluster.

AccountName String Yes test01

The account name. The name must meet the following requirements:

  • It must start with a lowercase letter and end with a letter or a digit.
  • It can contain lowercase letters, digits, and underscores (_).
  • It must be 2 to 16 characters in length.
  • It cannot be root, admin, or another username that is reserved by the system.
AccountPassword String Yes test*****

The password of the database account. The password must meet the following requirements:

  • The password must contain at least three types of the following characters: uppercase letters, lowercase letters, digits, and special characters.
  • Special characters include ! @ # $ % ^ & * ( ) _ + - =
  • The password must be 8 to 32 characters in length.

Response parameters

Parameter

Type

Example

Description

RequestId String 50373857-C47B-4B64-9332-D0B5280*****

The request ID.

Examples

Sample requests

Sample success responses

JSON format

HTTP/1.1 200 OK

Error codes

访问错误中心查看更多错误码。