Docs
Templates

Delete a template

DELETE
/v1/templates/{id}

Authorization

BearerAuth
AuthorizationBearer <token>

API key (csk_live_…)

In: header

Path Parameters

id*string

Template ID or slug

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X DELETE "https://api.cospec.io/v1/templates/string"
{
  "deleted": true
}
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "requestId": "string"
}
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "requestId": "string"
}
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "requestId": "string"
}
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "requestId": "string"
}