Delete Template
DELETE/template/:template_id
The Delete Template API provides you with the ability to remove a specific template from the templates. If a template is no longer needed
Request
Path Parameters
template_id stringrequired
ID of the template that needs to be deleted
Responses
- 200
- 400
- 404
- 405
Template deleted successfully!
- application/json
- Schema
- Example (from schema)
Schema
objectId string
deletedAt date
{
"objectId": "Bxh2aspHp3",
"deletedAt": "2023-10-07T16:49:56.000Z"
}
Something went wrong, please try again later!
- application/json
- Schema
- Example (from schema)
Schema
error string
{
"error": "Something went wrong, please try again later!"
}
Template not found!
- application/json
- Schema
- Example (from schema)
Schema
error string
{
"error": "Template not found!"
}
Invalid API Token!
- application/json
- Schema
- Example (from schema)
Schema
error string
{
"error": "Invalid API token!"
}
Loading...