Skip to main content

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 NameRequiredTypeNotes
sub_user_nametruestringSub-account username.
  • 3-26 characters, can only contain numbers, letters and English symbols "-".
  • Cannot be the same as an existing sub-account name.
permissionsfalse[]stringSub-user permissions, the sub-account created by default has full permissions
remarkfalsestringSub-account note.
  • The length of the note cannot exceed 50 characters.

Return parameters

None


Request example

{
"sub_user_name": "sub2",
"remark": "spot market maker",
"permissions": [
"AMM",
"MARGIN"
]
}

Response example

{
"code": 0,
"message": "OK",
"data": {}
}