Legacy v1

Unpublish template (v1)

post/v1/templates/{id}/unpublish

Request

  • Base URL: https://api.pdfs.build
  • URL: https://api.pdfs.build/v1/templates/{id}/unpublish
  • Auth: HTTP bearer

Response

The template, now a draft.

idstring required

Internal id.

namestring required
descriptionstring nullable
status'draft' | 'published' required
createdAtstring required

UTC, ISO 8601 without a timezone suffix.

updatedAtstring required

UTC, ISO 8601 without a timezone suffix.

schemaobject nullable
sampleDataobject nullable
baseTemplateIdstring nullable
userIdstring required
organizationIdstring nullable

Example response

{
  "createdAt": "2026-08-30T12:00:00.123456",
  "updatedAt": "2026-08-30T12:00:00.123456"
}

Changes

No recorded changes to this operation across all 1 revision of this API.