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": "f79df516-1818-4cbe-a810-f4a1f68fa5e1",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "924008fe-c212-493e-bc36-0d6f98d2c992",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "f27778f4-9cd9-48ab-bc06-879f2197198b",
"CreateDate": "2026-01-07T15:58:25.9821741-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-07T15:58:25.9821741-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "0b0bd8be-f49d-4fa2-84ef-271ea6f8f13c",
"CreateDate": "2026-01-07T15:58:25.9821741-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-07T15:58:25.9821741-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"
}