Unpublish a form template

POST/app/v1/form-template/{id}/unpublish/

Take the template back to draft. Forms already opened keep working.

Authorization

X-API-KEYstring · headerrequired

Your company's API key.

Path parameters

idstring (uuid)required

A UUID string identifying this Digital Form — Template.

Response

200The record
idstring (uuid)
namestring
definitionany

Sections, each with ordered blocks. A block is either a field (type: text, number, date, yes_no, radio, select, multiselect, signature, photo, driver, vehicle, trailer) or content (type: instructions). See the dashboard's form builder for the exact shape; anything malformed is rejected with a clear message.

statusenum

One of: draft published

published_atstring (date-time)
require_approvalsboolean
access_modeenum

One of: none all specific tags

access_membersarray of integer
access_tagsarray of integer
is_activeboolean
created_byinteger
created_atstring (date-time)
updated_atstring (date-time)