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": "6c7821c6-760d-472f-ad1e-95b24d74e618",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "46ebcfa0-bc2a-4ac8-82a7-5c3dede2cc07",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "f95c69fb-08e4-42a9-964f-d742f7072810",
"CreateDate": "2025-11-17T18:56:47.5709427-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-17T18:56:47.5709427-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "da3546e3-56d7-4af5-8f10-8deea1f06f15",
"CreateDate": "2025-11-17T18:56:47.5709427-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-17T18:56:47.5709427-08: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"
}