delete https://api.djust.example.com/admin/operations//accounts
Remove one or multiple accounts from a PRIVATE Operation.
Feature flag
- Available only when
OPERATIONS
is ON (otherwise 403).
Access control
OPERATOR
: can remove accounts from anyPRIVATE
Operation inDRAFT
.ACCOUNT
: must have rightOPERATIONS_UPDATE
, be the owner of the Operation, and be attached to the effective store (dj-store
if provided, otherwise tenant default store).
Business rules
- Only
PRIVATE
Operations are eligible. - Only
DRAFT
Operations are modifiable. - Account IDs provided must already be linked to the Operation.
- Unknown or not-linked accountIds are ignored.
- If none of the provided accountIds are valid, an error is returned.