Delete a stored template
Deactivates a stored template and returns 204 No Content.
Important: The record is not removed. Its active state is set to
false, and it keeps appearing in the list and can still be retrieved by its identifier.
The template file on disk takes over again once the cached lookup expires, which takes a few minutes. The name remains occupied for the site and language of the record, so it cannot be stored again — set is_active back to true on this record instead.
Token credential sent in the Authorization header, in the form: Token <your-token>. Requires a staff (admin) account.
The unique identifier of the stored template.
The stored template was deactivated successfully. No response body.
No content
Authentication credentials were not provided or are invalid.
The authenticated user does not have administrator privileges.
No stored template exists with the given identifier. Deactivated records are still retrievable, so this answer means the record does not exist at all.
DELETE /api/v1/remote/1/templates/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
No content
Last updated
Was this helpful?

