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": "3daad88e-d1c4-42ab-ba50-8ce21f77ea7c",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "12ba74cc-9867-43b0-bed1-4d15eb9e6ad7",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "6dbc92b9-e9f7-4f5f-819a-7b273e1c399d",
"CreateDate": "2025-11-04T17:17:25.1538914-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-04T17:17:25.1538914-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "32edaa6d-2576-43f2-95e2-254f7bf232bc",
"CreateDate": "2025-11-04T17:17:25.1538914-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-04T17:17:25.1538914-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"
}