Unpublish Template
Stop sharing a template and invalidate its link.
DELETE
https://api.foxreach.io/ api/ v1/ templates/{template_id}/ publishRequires an API key with the write scope.
The template stays in your workspace. Its share link stops working and it leaves the gallery. Each unpublish is recorded as an audit.template.unpublished event.
Path Parameters#
template_idstringpathrequiredThe template id.
Response#
dataobjectShow data
idstringThe template id.
publishedbooleanAlways
false.Errors#
| Status | Description |
|---|---|
401 | Missing, invalid, revoked or expired API key |
403 | API key does not have the required scope: write |
404 | Template not found: the template does not exist in this workspace |
Rate Limit#
- 120 requests per minute, shared by every
writecall in your workspace. Fixed 60-second window. - Every response includes
X-RateLimit-Limit,X-RateLimit-Remaining,X-RateLimit-Reset(unix epoch seconds) andX-RateLimit-Bucket(write). - A
429response includes aRetry-Afterheader (seconds until the bucket resets).
For client-side patterns, see Rate Limiting.
Was this page helpful?
View as MarkdownLast updated November 4, 2026