curl --location --request DELETE 'https://api.stateset.com/v1/work_order' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
"id": "wo_ODkRWQtx9NVsRX"
}'
{
"id": "wo_1NXWPnCo6bFb1KQto6C8OWvE",
"object": "workorders",
"deleted": true
}
This endpoint deletes an existing work order.
curl --location --request DELETE 'https://api.stateset.com/v1/work_order' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
"id": "wo_ODkRWQtx9NVsRX"
}'
{
"id": "wo_1NXWPnCo6bFb1KQto6C8OWvE",
"object": "workorders",
"deleted": true
}
Documentation Index
Fetch the complete documentation index at: https://docs.stateset.com/llms.txt
Use this file to discover all available pages before exploring further.
curl --location --request DELETE 'https://api.stateset.com/v1/work_order' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
"id": "wo_ODkRWQtx9NVsRX"
}'
{
"id": "wo_1NXWPnCo6bFb1KQto6C8OWvE",
"object": "workorders",
"deleted": true
}