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": "2fe43405-aeaa-4015-abac-dfe6da08e63b",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "92d06ad6-7181-4a98-9c3a-97a37d72db4e",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "b11be85f-5237-4ea0-9344-ed06d8d326b1",
"CreateDate": "2026-02-23T03:05:05.193337-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-23T03:05:05.193337-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "6ded9154-b902-4121-8ee1-1ae94bb41f02",
"CreateDate": "2026-02-23T03:05:05.193337-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-23T03:05:05.193337-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"
}