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": "7809ed9b-679c-455b-9b7d-564023acb6ee",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "060ab978-711e-4bdc-a054-fa1d97f578d2",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "a702a63a-1bf4-4a5d-9c97-34df8265090e",
"CreateDate": "2026-03-30T16:48:30.7255856-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-30T16:48:30.7255856-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "75bd5fe3-dfcd-4cac-bf32-4955e7f49014",
"CreateDate": "2026-03-30T16:48:30.7255856-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-30T16:48:30.7255856-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"
}