UpdateFormDefinition patches a draft form's schema and description. Form `name` is immutable across versions and cannot be changed.
PATCH/api/v1/crm/forms/:id
Errors:
- NOT_FOUND: form does not exist (ErrFormNotFound).
- FAILED_PRECONDITION: form is not in draft status — call CreateDraftFromPublished first (ErrFormNotDraft).
- INVALID_ARGUMENT: schema validation failed (ErrFormFieldKeyInvalid, ErrFormFieldKeyDuplicate, ErrInvalidFieldType, ErrFormWriteBackInvalid); attempted to rename the form (ErrFormNameImmutable).
Request
Responses
- 200
- default
A successful response.
An unexpected error response.