Delete a design template
Soft-deletes a design template. The template can be restored later via POST /v1/design-templates/{id}/restore.
X-API-Key<token>
API key for authentication. Include in the X-API-Key header.
In: header
Path Parameters
idstring
The design template ID
Length
1 <= lengthResponse Body
curl -X DELETE "https://api.staticadslab.com/v1/design-templates/dt_a1b2c3d4e5f67890"{
"deleted": true
}{
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request body",
"details": [
{
"field": "string",
"message": "string"
}
]
},
"meta": {
"request_id": "req_a1b2c3d4e5f67890",
"timestamp": "2026-03-27T12:00:00.000Z"
}
}{
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request body",
"details": [
{
"field": "string",
"message": "string"
}
]
},
"meta": {
"request_id": "req_a1b2c3d4e5f67890",
"timestamp": "2026-03-27T12:00:00.000Z"
}
}{
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request body",
"details": [
{
"field": "string",
"message": "string"
}
]
},
"meta": {
"request_id": "req_a1b2c3d4e5f67890",
"timestamp": "2026-03-27T12:00:00.000Z"
}
}