Delete Template
DELETE
/templates/{template_ref} Deletes a canonical template and returns a success confirmation.
Conventions
Authentication
All endpoints require a Bearer token. Pass it in the Authorization header as Bearer <token>. Tokens are issued from the API settings page in your workspace.
Base URL
All paths are relative to https://api.allsign.app. The spec includes full paths; strip the base when constructing requests.
Versioning
The current version is 0.1.0. Breaking changes are documented in the Changelog and announced before taking effect.
Specification
The API follows OpenAPI Specification 3.x. All documentation on this page is generated directly from the spec.
Example
Bash
curl "https://api.allsign.app/templates/{template_ref}" \-X DELETE \-H "Authorization: Bearer {token}"
Request
Request Path
template_refPublic template reference.
stringrequired
Responses
200 OK
Deleted template confirmation.
{
"data": {
"deleted": true,
"ref": ""
}
}data
objectrequired
data.deleted
truerequired
data.ref
stringrequired
401 Unauthorized
{
"error": {
"code": "",
"message": "",
"request_id": "",
"status": 1
}
}error
objectrequired
error.code
stringrequired
error.message
stringrequired
error.request_id
stringrequired
error.status
integerrequired
error.fields
object[]optional
404 Not Found
{
"error": {
"code": "",
"message": "",
"request_id": "",
"status": 1
}
}error
objectrequired
error.code
stringrequired
error.message
stringrequired
error.request_id
stringrequired
error.status
integerrequired
error.fields
object[]optional