Suppliers
Delete Supplier
This endpoint deletes an existing supplier.
DELETE
/v1/suppliers/:id
Bearer*
Body
data_source_provided_id
string
The data source ID provided in the data tab may be used to identify the data source for the user group
current_token
string
This is the current user group token you have for the user group you want to delete
Response
success
number
Indicates whether the call was successful. 1 if successful, 0 if not.
curl --location --request DELETE 'https://api.stateset.com/v1/suppliers/:id' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
"user_group_id": "example_1"
"current_token": "abcdef"
}'
{
"success": 1
}
curl --location --request DELETE 'https://api.stateset.com/v1/suppliers/:id' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
"user_group_id": "example_1"
"current_token": "abcdef"
}'
{
"success": 1
}