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": "14667452-455d-4a37-83a5-436f2678a245",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "005c6540-351f-4ef5-a9c9-b336392b38e7",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "553804a7-b498-44be-aa5d-efc126c93d4c",
"CreateDate": "2026-03-17T09:49:58.9059997-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-17T09:49:58.9059997-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "3bcd3cdd-ed8a-4e09-96bb-d345aa19d0cb",
"CreateDate": "2026-03-17T09:49:58.9059997-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-17T09:49:58.9059997-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"
}