Delete Exchange Rate
Deletes an exchange rate record.
HTTP Request
- URL:
/exchangeRate/{id} - Method:
DELETE - Headers:
accessToken: Required. Your API access token.
- Required scope:
READ_WRITE_EXCHANGE_RATE
Path Parameters
| Parameter | Type | Description |
|---|---|---|
id | String | Required. The ID of the exchange rate record to delete. |
cURL Example
curl --location --request DELETE '<BASE_URL>/exchangeRate/670cf1a2b3c4d5e6f708192a' \
--header 'accessToken: <ACCESS_TOKEN>'
Response
- 200 OK: The exchange rate record was deleted successfully.
- 400 Bad Request: The access token is missing or invalid, the token does not have the required scope, or the ID is not valid.
Sample JSON Response
{
"success": true,
"message": "ExchangeRate deleted Successfully"
}
Response Details
| Field | Type | Description |
|---|---|---|
success | Boolean | Whether the request was successful. |
message | String | Confirmation message. |