Skip to main content
DELETE
/
accounts
/
swap
/
crypto
/
{id}
Delete a crypto swap account
curl --request DELETE \
  --url https://api.platform.dakota.xyz/accounts/swap/crypto/{id} \
  --header 'x-api-key: <api-key>'
{
  "code": "invalid_request",
  "message": "The request was invalid. Please check your input and try again.",
  "details": {
    "field": "amount",
    "issue": "must be greater than 0"
  }
}

Authorizations

x-api-key
string
header
required

Path Parameters

id
string
required

KSUID is a 27-character globally unique ID that combines a timestamp with a random component. Used for all entity identifiers in the Dakota platform.

Required string length: 27
Example:

"1NFHrqBHb3cTfLVkFSGmHZqdDPi"

Response

Crypto swap account deleted successfully