Skip to content

Archive Template

DELETE
/api/canvas/templates/{template_id}
curl --request DELETE \
--url https://example.com/api/canvas/templates/example \
--header 'Authorization: Bearer <token>'

Archive a template (soft delete, creator only).

template_id
required
Template Id
string

Successful Response

Media type application/json
Example generated
example

Validation Error

Media type application/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object
Example generated
{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example",
"input": "example",
"ctx": {}
}
]
}