Enable Universal Transfer Permission For Sub Account Api Key
HTTP Request
POST /sapi/v1/broker/subAccountApi/permission/universalTransfer
Request Parameters
Name | Type | Mandatory | Description |
---|---|---|---|
subAccountId | LONG | YES | |
subAccountApiKey | STRING | YES | |
canUniversalTransfer | ENUM | YES | true or false |
recvWindow | LONG | NO | |
timestamp | LONG | YES |
Caution:
- This request will enable the api permission for a sub account to use
POST /sapi/v1/asset/transfer
endpoint. - You need to enable "trade" option for the api key which requests this endpoint.
Example Response
{
"subaccountId": "1",
"apikey": "vmPUZE6mv9SD5VNHk4HlWFsOr6aKE2zvsw0MuIgwCIPy6utIco14y7Ju91duEh8A",
"canUniversalTransfer":true
}