DELETE TaskTypes
Deletes the given task type, including all tasks of that type.
Request Information
URI Parameters
None.
Body Parameters
Task type to delete
TaskType| Name | Description | Type | Additional information | 
|---|---|---|---|
| TaskTypeId | globally unique identifier | None. | |
| Name | string | None. | |
| Description | string | None. | |
| CustomStatuses | boolean | None. | |
| Fields | Collection of TaskTypeField | None. | |
| SourceSystemId | string | None. | |
| CompanyId | globally unique identifier | None. | |
| CreateDate | date | None. | |
| CreateUser | string | None. | |
| LastModifiedDate | date | None. | |
| LastModifiedUser | string | None. | 
Request Formats
application/json, text/json
            Sample:
{
  "TaskTypeId": "33a7be93-7043-4857-81e2-fefe732a65d7",
  "Name": "sample string 1",
  "Description": "sample string 2",
  "CustomStatuses": true,
  "Fields": [
    {
      "TaskTypeFieldId": "64b71470-3f48-4c0b-95f6-7beccd7ae203",
      "Section": {
        "TaskTypeSectionId": "3acc064f-b132-4b36-a878-020b0fb15b21",
        "Name": "sample string 1",
        "Label": "sample string 2",
        "DisplayOrder": 1,
        "IsRepeatable": true,
        "VisibleExpression": "sample string 4",
        "SourceSystemId": "sample string 5"
      },
      "Name": "sample string 1",
      "Label": "sample string 2",
      "Description": "sample string 3",
      "DataType": {
        "DataTypeId": "69497ee8-6f61-4167-9075-347bb4ebdbc4",
        "Name": "sample string 1"
      },
      "Unit": {
        "UnitId": "dd6f51a8-8fe0-42b8-afa2-6debbe62ff02",
        "Code": "sample string 1",
        "Description": "sample string 2",
        "SourceSystemId": "sample string 3",
        "CompanyId": "0a9d3da2-7cc1-4076-b0aa-9a56c71e5a68",
        "CreateDate": "2025-10-31T00:31:03.4519825-07:00",
        "CreateUser": "sample string 5",
        "LastModifiedDate": "2025-10-31T00:31:03.4519825-07:00",
        "LastModifiedUser": "sample string 6"
      },
      "DisplayOrder": 1,
      "MinValue": 1.0,
      "MaxValue": 1.0,
      "MinLength": 1,
      "MaxLength": 1,
      "HasValidValues": true,
      "ValidValues": [
        {
          "ValidValueId": "6f2037db-f7df-4add-b0b7-91bbb4c27a23",
          "FieldId": "d2501205-98ba-427d-8c42-64da0823740b",
          "FieldName": "sample string 1",
          "FieldLabel": "sample string 2",
          "ValueText": "sample string 3",
          "LabelText": "sample string 4"
        },
        {
          "ValidValueId": "6f2037db-f7df-4add-b0b7-91bbb4c27a23",
          "FieldId": "d2501205-98ba-427d-8c42-64da0823740b",
          "FieldName": "sample string 1",
          "FieldLabel": "sample string 2",
          "ValueText": "sample string 3",
          "LabelText": "sample string 4"
        }
      ],
      "ValueExpression": "sample string 5",
      "RequiredExpression": "sample string 6",
      "IsAttachment": true,
      "DefaultValueExpression": "sample string 8",
      "IsMultiline": true,
      "IsRepeatable": true,
      "VisibleExpression": "sample string 11",
      "SourceSystemId": "sample string 12"
    },
    {
      "TaskTypeFieldId": "64b71470-3f48-4c0b-95f6-7beccd7ae203",
      "Section": {
        "TaskTypeSectionId": "3acc064f-b132-4b36-a878-020b0fb15b21",
        "Name": "sample string 1",
        "Label": "sample string 2",
        "DisplayOrder": 1,
        "IsRepeatable": true,
        "VisibleExpression": "sample string 4",
        "SourceSystemId": "sample string 5"
      },
      "Name": "sample string 1",
      "Label": "sample string 2",
      "Description": "sample string 3",
      "DataType": {
        "DataTypeId": "69497ee8-6f61-4167-9075-347bb4ebdbc4",
        "Name": "sample string 1"
      },
      "Unit": {
        "UnitId": "dd6f51a8-8fe0-42b8-afa2-6debbe62ff02",
        "Code": "sample string 1",
        "Description": "sample string 2",
        "SourceSystemId": "sample string 3",
        "CompanyId": "0a9d3da2-7cc1-4076-b0aa-9a56c71e5a68",
        "CreateDate": "2025-10-31T00:31:03.4519825-07:00",
        "CreateUser": "sample string 5",
        "LastModifiedDate": "2025-10-31T00:31:03.4519825-07:00",
        "LastModifiedUser": "sample string 6"
      },
      "DisplayOrder": 1,
      "MinValue": 1.0,
      "MaxValue": 1.0,
      "MinLength": 1,
      "MaxLength": 1,
      "HasValidValues": true,
      "ValidValues": [
        {
          "ValidValueId": "6f2037db-f7df-4add-b0b7-91bbb4c27a23",
          "FieldId": "d2501205-98ba-427d-8c42-64da0823740b",
          "FieldName": "sample string 1",
          "FieldLabel": "sample string 2",
          "ValueText": "sample string 3",
          "LabelText": "sample string 4"
        },
        {
          "ValidValueId": "6f2037db-f7df-4add-b0b7-91bbb4c27a23",
          "FieldId": "d2501205-98ba-427d-8c42-64da0823740b",
          "FieldName": "sample string 1",
          "FieldLabel": "sample string 2",
          "ValueText": "sample string 3",
          "LabelText": "sample string 4"
        }
      ],
      "ValueExpression": "sample string 5",
      "RequiredExpression": "sample string 6",
      "IsAttachment": true,
      "DefaultValueExpression": "sample string 8",
      "IsMultiline": true,
      "IsRepeatable": true,
      "VisibleExpression": "sample string 11",
      "SourceSystemId": "sample string 12"
    }
  ],
  "SourceSystemId": "sample string 4",
  "CompanyId": "e4f8fbf0-9abc-40ad-941e-cd057ec38bca",
  "CreateDate": "2025-10-31T00:31:03.4519825-07:00",
  "CreateUser": "sample string 6",
  "LastModifiedDate": "2025-10-31T00:31:03.4519825-07:00",
  "LastModifiedUser": "sample string 7"
}
        Response Information
Resource Description
| Name | Description | Type | Additional information | 
|---|---|---|---|
| Data | Object | None. | |
| Total | integer | None. | |
| Message | string | None. | 
Response Formats
application/json, text/json
            Sample:
{
  "Data": {},
  "Total": 1,
  "Message": "sample string 2"
}