DELETE
/
v1
/
warranty_line_item
curl --location --request DELETE 'https://api.stateset.com/v1/warranty_line_item' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
		"id": "0901f083-aa1c-43c5-af5c-0a9d2fc64e30"
}'
{
  "id": "wli_1NXWPnCo6bFb1KQto6C8OWvE",
  "object": "warranty_line_item",
  "deleted": true
}

Body

id
string
The id of the warranty line item to delete.

Response

id
string
The ID provided in the data tab may be used to identify the warranty
object
string
The object type
success
number
Indicates whether the call was successful. 1 if successful, 0 if not.
curl --location --request DELETE 'https://api.stateset.com/v1/warranty_line_item' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
		"id": "0901f083-aa1c-43c5-af5c-0a9d2fc64e30"
}'
{
  "id": "wli_1NXWPnCo6bFb1KQto6C8OWvE",
  "object": "warranty_line_item",
  "deleted": true
}