The Delete a Gift Card service removes a given card from the system.
{base_url}/gift_cards/{id}
DELETE
None
Path parameters:
Name | Type | Mandatory? | Constraints | Notes |
---|---|---|---|---|
id | int | yes | Internal unique ID assigned by the system. |
None
An empty data set.
Code | Description | Notes |
---|---|---|
200 | OK | - |
Request:
curl -XDELETE "http://localhost:3000/gift_cards/6"
Response:
{}