Create Sub Account
Info
- This endpoint requires signature. For specific signature rules, please refer to Authentication
- This endpoint will trigger rate limit. For specific rules, please refer to Rate Limit.
Reminder
- This endpoint can only be accessed using the ACCESS ID of the main account
- You can create up to 20 sub-accounts
HTTP request
POST /account/subs
Request parameters
Parameter Name | Required | Type | Notes |
---|---|---|---|
sub_user_name | true | string | Sub-account username.
|
permissions | false | []string | Sub-user permissions, the sub-account created by default has full permissions |
remark | false | string | Sub-account note.
|
Return parameters
None
Request example
{
"sub_user_name": "sub2",
"remark": "spot market maker",
"permissions": [
"AMM",
"MARGIN"
]
}
Response example
{
"code": 0,
"message": "OK",
"data": {}
}