Reorder Fields

View as Markdown
Validation rules: - fields: required|array|min:1 - fields.*.field_id: required (UUID or numeric ID accepted due UUID conversion middleware) - fields.*.section_id: required (UUID or numeric ID accepted due UUID conversion middleware) - fields.*.sort_order: required|integer|min:0

Headers

{{tenant_key_name}}stringOptional

Request

This endpoint expects a multipart form.
fields[0][field_id]stringRequired
UUID of the field
fields[1][field_id]stringRequired
UUID of the field
fields[0][section_id]stringRequired
UUID of the section the field belongs to
fields[0][sort_order]stringRequired

Required: integer, min:0 - New sort position

fields[1][section_id]stringRequired
UUID of the section the field belongs to
fields[1][sort_order]stringRequired

Required: integer, min:0 - New sort position

Response

Successful response