Skip to content

DELETE /counter/

Delete Field

DELETE
/counter/{counter_key}

Delete a counter sequence definition.

Refuses deletion (409) if the counter is assigned to a system counter slot
(checked via the Config/system_counters document) or if any Product
document references it via counter_key. Returns 200 on successful deletion.

Emits: (direct transaction — no event class)

Required scope: traceability:counter:write

Authorizations

OAuth2PasswordBearer
password Flow
Token URL"/api/auth"
Scopes:
  • "admin"User can access and edit users and system settings
  • "library"User can access and edit products
  • "production"User can access and edit production plans
  • "operator"User can access the operator panel and make production declarations

Parameters

Path Parameters

counter_key*
Type
string
Required

Responses

Successful Response

application/json
JSON
{
  
"status": 200,
  
"message": "string",
  
"detail": "string"
}

Samples

Powered by VitePress OpenAPI

Released under the Apache 2.0 License.