Delete Currency Tokens by Node
Deletes currency tokens under the specified node.
Request
DELETE /v2/admin/currency-tokens/nodes/{nodeID}
Parameters
| Name | Type | In | Description |
|---|---|---|---|
nodeID | string | path | Required. The ID of the node whose currency tokens will be deleted |
Headers
| Name | Description |
|---|---|
Authorization | Required. Bearer token for authentication |
Example
curl --location --request DELETE 'http://localhost:3453/v2/admin/currency-tokens/nodes/665ae536a6392b75cfd40352' \
--header 'Authorization: Bearer <token>'
Response
- Status:
204 No Content - Body: none
Status Codes
| Status Code | Description |
|---|---|
| 204 | No Content - Deletion successful |
| 400 | Bad Request - Invalid node ID |
| 401 | Unauthorized - Invalid or missing authentication token |
| 404 | Not Found - Node not found |
| 500 | Internal Server Error |