put https://api.djust.example.com/admin/operations/
Updates the metadata of an existing Operation (only if in DRAFT status).
Feature flag
- Requires OPERATIONS
to be active.
Access control
- OPERATOR: can update any Operation.
- ACCOUNT: can update only their own Operations if they have the OPERATIONS_UPDATE
right and are attached to the effective store.
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.
Editable fields
- names
, descriptions
, startDate
, endDate
, and custom field values.
- type
, externalId
, status
, and owner info are not editable.
Status constraint
- Only Operations in DRAFT
status can be updated.