Ivandt logo

Update template

Update template

Updates an existing template's schema or configuration. Only the provided fields will be updated.

What can be updated:

  • Schema definition (fields, validation rules)
  • Template key
  • Any schema configuration

Note: Updating a template affects all future imports using this template. Existing imports are not affected.

PUT
/templates/{id}

Path Parameters

idstring

The template ID

schemaITemplateSchema

Empty Object

Response Body

curl -X PUT "https://api.ivandt.com/v1/templates/string" \  -H "Content-Type: application/json" \  -d '{    "schema": {      "property1": null,      "property2": null    }  }'
{
  "id": "string",
  "key": "string",
  "clientId": "string",
  "schema": {
    "property1": null,
    "property2": null
  },
  "source": "studio",
  "metadata": {
    "property1": null,
    "property2": null
  },
  "createdAt": "2019-08-24T14:15:22Z",
  "updatedAt": "2019-08-24T14:15:22Z"
}