Docs
Delete Resource State
DELETE /resource-states/{resourceStateId}
DELETE
/resource-states/{resourceStateId}Required Tokens
| Field | Type | Required | Description |
|---|---|---|---|
| Bearer | Authorization: Bearer <api-key> | Optional | Your API key. Pass it as the Bearer token on every request. |
| Organization token | x-Organization-Token | Optional | Run **Authorize Organization** in the Authorization folder. |
Deletes a state. Refused while it is in use.
Requires
ResourceTypeDatabase.Edit permission.Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| resourceStateId | Guid | Required | The state. |
Response
200 OK. No response body.
Error Codes
| HTTP Status | Description |
|---|---|
| 400 | The state is in use. |
| 404 | State not found. |