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": "5a628376-2931-463c-8be7-5efbc8344ce6",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "50a3c380-ae1e-4f81-8248-c60bb87e45b0",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "d01bad2e-00a6-4880-ae70-42a23abb1800",
"CreateDate": "2026-06-17T17:27:17.3089829-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-17T17:27:17.3089829-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "3fec0317-c0d4-4b10-8153-656c37654411",
"CreateDate": "2026-06-17T17:27:17.3089829-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-17T17:27:17.3089829-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"
}