Delete a field of a form
/forms/{form_id}/fields/{id}Deletes the field and returns 204. It can't be undone and has no dry run; add the field again with POST /forms/{form_id}/fields. A repeat call returns 404. While another field's condition targets it the delete is refused with 409 conflict; clear those conditions first. A field used by a compliance classification or flow, or assigned to a DocuSign element, is refused with 409 conflict too. Published forms can be changed too. Emits form_field.deleted and sends no email.
Path parameters
The form's id, a uuid. An unknown id, or a hidden form, returns 404.
The field's id, a uuid. A field of another form returns 404.
Responses
The field was deleted.
Authorization failed. error.code is one of org_disabled,
ip_blocked, missing_scope, scope_disabled, user_disabled.
The request conflicts with existing state (error.code = conflict),
e.g. a compliance flow with the requested name already exists.
The request can't be processed (HTTP 422): validation_failed with one ErrorDetail per
problem, or a code documented on the operation.
Examples
curl -X DELETE https://your-org-domain/kong/core/api/v2/forms/{form_id}/fields/{id}\
-H "Authorization: Bearer $HELM_API_KEY"\
-H "Content-Type: application/json"