curl --location --request DELETE 'https://api.stateset.com/v1/bill_of_materials_line_item/:id' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
"user_group_id": "example_1"
"current_token": "abcdef"
}'
{
"id": "bomi_1NXWPnCo6bFb1KQto6C8OWvE",
"object": "bill_of_materials_line_item",
"deleted": true
}
This endpoint deletes an existing bill of materials line item.
curl --location --request DELETE 'https://api.stateset.com/v1/bill_of_materials_line_item/:id' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
"user_group_id": "example_1"
"current_token": "abcdef"
}'
{
"id": "bomi_1NXWPnCo6bFb1KQto6C8OWvE",
"object": "bill_of_materials_line_item",
"deleted": true
}
curl --location --request DELETE 'https://api.stateset.com/v1/bill_of_materials_line_item/:id' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
"user_group_id": "example_1"
"current_token": "abcdef"
}'
{
"id": "bomi_1NXWPnCo6bFb1KQto6C8OWvE",
"object": "bill_of_materials_line_item",
"deleted": true
}