DELETE StateTypes
Deletes the given state type, including all states of that type.
Request Information
URI Parameters
None.
Body Parameters
State type to delete
StateType| Name | Description | Type | Additional information |
|---|---|---|---|
| StateTypeId | globally unique identifier |
None. |
|
| Name | string |
None. |
|
| IsOperational | boolean |
None. |
|
| AssetType | AssetType |
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:
{
"StateTypeId": "c4519208-bb45-4226-b596-be5a45b6c7f2",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "d3c0ab99-8649-4d22-97d9-4fb0a3b87694",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "fba454f1-cb6c-4b26-8c4b-a3a7895e60d5",
"CreateDate": "2026-08-04T17:26:29.3004632-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-04T17:26:29.3004632-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "07590f3e-dd9c-4906-9cbc-cb9ae3967b2c",
"CreateDate": "2026-08-04T17:26:29.3004632-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-04T17:26:29.3004632-07:00",
"LastModifiedUser": "sample string 6"
}
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"
}