Skip to main content
DELETE
https://api.trysiren.io
/
api
/
v1
/
public
/
template
/
{template_id}
Delete Template
curl --request DELETE \
  --url 'https://api.trysiren.io/api/v1/public/template/{{template_id}}' \
  --header 'Authorization: <authorization>'
{
  "data": {
    "templateId": "UUID" // Template ID that was deleted
  },
  "error": null,
  "errors": null,
  "meta": null
}
Authorization
string
required
Bearer token for API authentication. Format: Bearer {{apiToken}}

Query Parameters

template_id
UUID
required
The ID of the template to delete.

Response

{
  "data": {
    "templateId": "UUID" // Template ID that was deleted
  },
  "error": null,
  "errors": null,
  "meta": null
}

Status Codes

  • 200 - OK
  • 400 - BAD REQUEST
  • 401 - UNAUTHORISED
  • 404 - NOT FOUND