Detach a document template from a form
DELETE
/forms/{id}/templates/{member_id}Detaches the template from the form, removing every link between them, and returns 204. A template that is not attached changes nothing. It has no dry run. Emits form.updated with templates as the changed field, only when the set changes, and sends no email. POST /forms/{id}/templates undoes it.
Path parameters
The form's id, a uuid. An unknown id, or a hidden form, returns 404.
The guid of the document template to detach.
Responses
204
The template is no longer attached.
403Error
Authorization failed. error.code is one of org_disabled,
ip_blocked, missing_scope, scope_disabled, user_disabled.
Examples
curl -X DELETE https://your-org-domain/kong/core/api/v2/forms/{id}/templates/{member_id}\
-H "Authorization: Bearer $HELM_API_KEY"\
-H "Content-Type: application/json"