curl --location --request DELETE 'https://api.stateset.com/v1/warranty' \ --header 'Content-Type: application/json' \ --header 'Authorization: Token <token>' \ --data-raw '{ "id": "w_1NXWPnCo6bFb1KQto6C8OWvE" }'
{ "id": "w_1NXWPnCo6bFb1KQto6C8OWvE", "object": "warranty", "deleted": true }
This endpoint deletes an existing warranty.