StateSet ReSponse API Documentation
Embeddings
Attributes
Function Parameters
Channels
Rules
Delete Rule
This endpoint deletes a rule
DELETE
/
v1
/
rules
curl --location --request DELETE 'https://api.stateset.com/v1/rules' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
"id": "2438cf38-4004-41d3-8c90-131735ff7d00"
}'
{
"id": "2438cf38-4004-41d3-8c90-131735ff7d00"
}
Body
This is the id of the rule.
Response
This is the id of the rule.
This is the type of the rule.
This is the name of the rule.
This is the description of the rule.
This is the created_at of the rule.
This is the updated_at of the rule.
curl --location --request DELETE 'https://api.stateset.com/v1/rules' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
"id": "2438cf38-4004-41d3-8c90-131735ff7d00"
}'
{
"id": "2438cf38-4004-41d3-8c90-131735ff7d00"
}
curl --location --request DELETE 'https://api.stateset.com/v1/rules' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
"id": "2438cf38-4004-41d3-8c90-131735ff7d00"
}'
{
"id": "2438cf38-4004-41d3-8c90-131735ff7d00"
}