Work Order Line Items
Delete Work Order Line Item
This endpoint deletes an existing work order line item.
DELETE
/v1/work_order_line_items/:id
Bearer*
Body
id
string
The ID of the work order line item you want to delete
Response
id
string
The ID provided in the data tab may be used to identify the work order
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/work_order_line_items' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
"id": "example_1"
}'
{
"id": "rli_1NXWPnCo6bFb1KQto6C8OWvE",
"object": "return_line_item",
"deleted": true
}
curl --location --request DELETE 'https://api.stateset.com/v1/work_order_line_items' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
"id": "example_1"
}'
{
"id": "rli_1NXWPnCo6bFb1KQto6C8OWvE",
"object": "return_line_item",
"deleted": true
}