Ana içeriğe geç

Delete Currency Token

Soft-deletes a single currency token by its ID.

Request

DELETE /v2/admin/currency-tokens/{id}

Parameters

NameTypeInDescription
idstringpathRequired. The ID of the currency token to delete

Headers

NameDescription
AuthorizationRequired. 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 CodeDescription
200Success - Currency token deleted
400Bad Request - Invalid currency token ID
401Unauthorized - Invalid or missing authentication token
404Not Found - Currency token not found
500Internal Server Error