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": "d53728ab-27f8-459a-b748-31d5a4b27e45",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "33f0e5bf-7bed-41f6-9385-b4f04aca8d86",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "7ab7ffb4-d921-4ff4-a184-577055bea919",
"CreateDate": "2026-07-15T13:21:22.4200495-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-07-15T13:21:22.4200495-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "19d6e749-32fe-4eea-a737-996ef128d47a",
"CreateDate": "2026-07-15T13:21:22.4200495-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-15T13:21:22.4200495-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"
}