curl --location --request DELETE 'https://api.stateset.com/v1/templates/{id}' \
--header 'Authorization: Bearer YOUR_API_KEY'
{
"id": "string",
"object": "string",
"success": 1
}
Delete Template
This endpoint deletes an existing template.
DELETE
/
v1
/
templates
/
{id}
curl --location --request DELETE 'https://api.stateset.com/v1/templates/{id}' \
--header 'Authorization: Bearer YOUR_API_KEY'
{
"id": "string",
"object": "string",
"success": 1
}
Path parameters
string
The ID of the template to delete.
Response
string
The ID provided in the data tab may be used to identify the template
string
The object type
number
Indicates whether the call was successful. 1 if successful, 0 if not.
Errors
Succeeds with204. Failures return 400, 401, 403, 404 or 429 with an error body, per the platform status-code contract.
curl --location --request DELETE 'https://api.stateset.com/v1/templates/{id}' \
--header 'Authorization: Bearer YOUR_API_KEY'
{
"id": "string",
"object": "string",
"success": 1
}
Last modified on August 29, 2026