PublishFormDefinition flips a draft form to `published`, snapshots any custom-field picklist options into the schema, and starts accepting submissions. The form must have at least one non-section field.
POST/api/v1/crm/forms/:id/publish
Errors:
- NOT_FOUND: form does not exist (ErrFormNotFound).
- FAILED_PRECONDITION: form is not in draft status (ErrFormNotDraft); form is already published (ErrFormAlreadyPublished); form has no non-section fields (ErrFormEmpty).
Request
Responses
- 200
- default
A successful response.
An unexpected error response.