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": "43cec01c-99b8-4130-b03e-9f196b3572cf",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "5fa530e3-3593-4286-ad69-6ea22cfa2e1e",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "f9518947-11de-403b-bbf2-7522cb5e4adc",
"CreateDate": "2026-10-04T02:40:53.4797908-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-04T02:40:53.4797908-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "2d2bb77d-115b-444b-be0a-17a8ca466ac5",
"CreateDate": "2026-10-04T02:40:53.4797908-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-04T02:40:53.4797908-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"
}