Skip to content

Delete Template Groups

Deletes the specified template group(s).

Verb DELETE
Endpoint {base-url}/template-groups/
Max Page Size N/A

Request body

{
  "routeFilter": {
    "templateGroupIds": [4]
  }
}

Filters Honored

Note

All changes in this request are atomic. If any item fails, the entire batch is rolled back and no changes are made.

Returns

On Success

Response body

// 204 - No Content

On Error

HTTP Code Error Code Definition
403 DATA_ACCESS_VIOLATION One or more of the specified template group IDs belong to an organization you do not have access to.
404 MISSING_RECORD One or more of the specified template group IDs does not exist.