Update Form

View as Markdown
Validation rules: - name: sometimes|string|max:255 - description: nullable|string - status: sometimes|in:draft,active,archived - source: sometimes|in:manual,imported - display_on: sometimes|in:office,technician,both - assigned_to_type: sometimes|in:work_order,work_order_assignment,customer,customer_location,equipment,workforce_personnel - allow_multiple_submissions: sometimes|boolean - show_business_unit_logo: sometimes|boolean - allow_email_when_unfilled: sometimes|boolean - auto_email_on_completion: sometimes|boolean - layout: sometimes|in:one_column,two_column - business_unit_ids: sometimes|array of existing tenant_location IDs Notes: - All fields are optional. - Only the form type (native|pdf) cannot be changed after creation. - Setting status=active requires an existing published version. - Setting status=archived disables all form triggers.

Headers

{{tenant_key_name}}stringOptional

Request

This endpoint expects a multipart form.
statusstringRequired

Optional: enum(draft|active|archived) - Form lifecycle status. Active requires an existing published version

Response

Successful response