Delete Currency Token
Soft-deletes a single currency token by its ID.
Request
DELETE /v2/admin/currency-tokens/{id}
Parameters
| Name | Type | In | Description |
|---|---|---|---|
id | string | path | Required. The ID of the currency token to delete |
Headers
| Name | Description |
|---|---|
Authorization | Required. Bearer token for authentication |
Example
curl --request DELETE \
--url '\{\{baseUrl\}\}/v2/admin/currency-tokens/68fe8c129367fd414b227c7a' \
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...'
Response
A successful request returns HTTP 200 with no body.
Status Codes
| Status Code | Description |
|---|---|
| 200 | Success - Currency token deleted |
| 400 | Bad Request - Invalid currency token ID |
| 401 | Unauthorized - Invalid or missing authentication token |
| 404 | Not Found - Currency token not found |
| 500 | Internal Server Error |