Freezes or unfreezes an account at the token contract. FREEZE applies a compliance freeze to an ACTIVE account; UNFREEZE lifts it on a FROZEN account. These two account-control operations are raised here, not through POST /api/transactions, which rejects them with a 400.
Submission and polling
Like a transaction submission, this is asynchronous and idempotent: 202 for a first submission, 200 for a replay under an Idempotency-Key already used. The body reports the operation raised — its transactionId correlates the later on-chain outcome, read back with GET /api/transactions/{transactionId} — and its state and timestamps.
It does not carry the account's status; read that back with GET /api/accounts/{accountRef}.
When controls take effect
A freeze takes effect immediately: the account moves ACTIVE → FROZEN as the operation is accepted. An unfreeze does not: the account stays FROZEN and returns to ACTIVE only once the unfreeze confirms on-chain.

