- Docs
- Api%2Freference%2Ftemplates%2FDeleteTemplate
Delete a template
Delete a template for good. Objects already created from it are not deleted, and they keep looking for a template that is no longer there — so this is only safe for a template nothing has been made from. To stop new objects being created without disturbing the ones that exist, close the minting window with `end_time` instead. Requires the `templates.delete` permission.
The access token returned after a successful sign-in, sent as
Authorization: Bearer <access_token>.
It identifies the person and the organization they are working in, and
it lasts about fifteen minutes. When it runs out, use their refresh
token at POST /auth/refresh-token instead of asking them to sign in
again.
In: header
Path Parameters
Identifier of the template.
Response Body
application/json
application/json
application/json
application/json
curl -X DELETE "https://api.dual.network/templates/665f1c2d4b1a2c3d4e5f6ad0"{}{
"code": 3,
"message": "Key: 'limit' Error:Field validation for 'limit' failed on the 'lte' tag"
}{
"code": 16,
"message": "no auth provided"
}{
"code": 13,
"message": "internal error"
}