Add SubAccount Margin Permission

This endpoint can be used to add sub-accounts Margin permission. Before using this endpoints, you need to ensure that the master account apikey has Margin permissions and the Margin function has been activated.

HTTP REQUEST

POST /api/v3/sub/user/margin/enable

Example

POST /api/v3/sub/user/margin/enable

{
  "code": "200000",
  "data": null
}
API KEY PERMISSIONS

This endpoint requires the Margin permission.

REQUEST URLs

This endpoint support Spot URL

REQUEST RATE LIMIT

Manage weight:15

PARAMETERS
Param Type Mandatory Description
uid String Yes Sub account UID
RESPONSES

NULL