DELETE /operation/
Delete Operation
DELETE
/operation/{op_key}
Delete an operation template if it is not referenced by any product.
Checks whether any product currently uses this operation before deletion.
Returns HTTP 403 with the list of product codes if the operation is in use,
preventing orphaned product process definitions.
Emits: (direct transaction — no event class)
Required scope: process:template:update
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
op_key*
Type
Requiredstring
Responses
Successful Response
application/json
JSON "status": 200, "message": "string", "detail": "string"
{
}