HTX will introduce one new REST API endpoint : Sub user creation — POST `/v2/sub-user/creation`
- API Announcements
Dear Users,
HTX will introduce one new REST API endpoint : Sub user creation — POST `/v2/sub-user/creation`.
This endpoint is used by the parent user to create sub users, up to 50 at a time.
Effective Date: May 29, 2020 (GMT+8)
All the changes will be updated on https://huobiapi.github.io/docs/spot/v1/en/
HTX
May 29, 2020
POST /v2/sub-user/creation
Request Parameters
Parameter | Required | Data Type | Description | Default | Value Range |
userList | true | string[] | List of sub user names and sub user notes, no more than 50 at a time | NA | |
[{ userName | true | string | Sub user name, an important identifier of the sub user's identity, requires unique within the huobi platform | NA | The combination of 6 to 20 letters and numbers, or only letters. Letter is not case sensitive. The first character has to be a letter. |
note }] | false | string | Sub user note, no unique requirements | NA | Up to 20 characters, unlimited character types |
Response Content
Parameter | Required | Data Type | Description | Value Range |
code | true | int | Status code | |
message | false | string | Error message (if any) | |
data | true | object | ||
[{ userName | true | string | Sub user name | |
note | false | string | Sub user note (only valid for sub-users with note)) | |
uid | false | long | Sub user UID (only valid for successfully created sub users) | |
errCode | false | long | Error code for creation failure (only valid for sub users that failed to create) | |
errMessage }] | false | string | Cause of creation failure error (only valid for sub users that failed to create) |
API users should evaluate the business impact caused by the features introduced, further to make relevant change in client’s application, if needed.
All the changes will be updated on HTX API Docs on the effective date.