Docs
Update Template Entity
PUT /organizations/{organizationId}/templates/{templateId}/entities/{entityId}
PUT
/organizations/{organizationId}/templates/{templateId}/entities/{entityId}Replaces all of an entity's properties with the list sent; properties left out are removed. The entity type itself does not change. The entity id comes from Templates_GetTemplate; the available properties come from Templates_GetEntitySchemas.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| organizationId | uuid | Required | |
| templateId | uuid | Required | |
| entityId | uuid | Required |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| properties | UpdateTemplateEntityRequestEntityProperty[] | Optional |
UpdateTemplateEntityRequestEntityProperty
| Field | Type | Description |
|---|---|---|
| name | string| null | |
| type | string| null | |
| value | string| null | |
| refType | string| null | |
| days | integer | |
| hours | integer | |
| addSubNum | integer |