Deleting a Currency
Endpoint: DELETE /admin/currencies/{currency_id}
Purpose
The /admin/currencies/{currency_id}
endpoint is used to delete an existing currency from the system. Once a currency is deleted, it can no longer be used for transactions or any other operations within the system.
Path Parameters
Parameter | Type | Description |
---|---|---|
currency_id | integer | The unique identifier of the currency to be deleted. |
Query Parameters
This endpoint does not have any query parameters.
Use Case
This endpoint is useful when a currency is no longer required or needs to be removed due to operational changes, financial regulations, or system reconfiguration. It ensures that outdated or irrelevant currencies are removed from the system to maintain up-to-date currency information.
Request Body
No data is required for the request body.
Response
The response will not contain any body content. A successful deletion will return a 204 No Content
status code, which indicates that the currency was successfully deleted.