Create a form template

POST/forms/form/{uuid}/template

Path parameters

  • uuidstringRequired#
    Unique identifier for the form.

Request body

Body shape: Request_CreateFormTemplate (required)

Responses

201Form template created.FormTemplateResource
/** Imported from delio-core. */
interface FormTemplateResource {
  /** uuid from delio-core. */
  uuid: string
  template: TemplateResource
}
401Unauthorized.Error
404Form not found.Error
curl -X POST https://your-url.com/kong/core/api/gateway/forms/form/{uuid}/template\
  -H "Authorization: Bearer $DELIO_API_KEY"\
  -H "Content-Type: application/json"\
  -d '{
  "uuid": "00000000-0000-0000-0000-000000000000",
  "template_uuid": "00000000-0000-0000-0000-000000000000"
}'