ADM-OPERATION-201 - Update Operation status (activation / deactivation)

Allows changing the status of an Operation between ACTIVE and INACTIVE.

Feature flag
- Requires OPERATIONS to be active.

Access control
- OPERATOR: always allowed.
- ACCOUNT (FOC): allowed only if the user is the creator (ownerId = customerUserId) and has the OPERATIONS_UPDATE_STATUS right.

Store scoping
- Effective store is the dj-store header if provided, otherwise the tenant default store.
- ACCOUNT must be attached to the effective store; otherwise 403.

Allowed transitions
- DRAFT → ACTIVE
- DRAFT → INACTIVE
- ACTIVE → INACTIVE
- INACTIVE → ACTIVE

Forbidden transitions
- Cannot revert to DRAFT once changed.

Language
Click Try It! to start a request and see the response here!