Delete sub-account by sub-account ID.
This endpoint deletes sub-account by sub-account ID. The sub-account must have zero balance before it can be deleted. The endpoint will return an error if the sub-account has a non-zero balance. The funds in the sub-account must be transferred to another account before deletion. Once an account is deleted, it cannot be recovered, and a new sub-account must be created if needed. The address associated with the sub-account will also be deleted upon successful deletion of the sub-account.
Path parameters
The unique onboard sub-account ID or reference
Response
Sub-account deleted Successfully
Example response
{
"success": true,
"error": {
"code": "UNKNOWN_ERROR",
"message": "Request could not be completed due to an error"
}
}Changes
Changed in 1 of the 6 revisions of this API.2
- ○
the endpoint scheme security
HMACAuthwas added to the APIapi-security-added
- ○
the endpoint scheme security
authTokenwas removed from the APIapi-security-removed
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○