WithdrawAuthorization finalizes revocation windows for IssuerAuthorization. Signers (system_operator per deployment)** must authorize submitAndWait; withdrawAuthorization binds ExerciseCommand to IssuerAuthorization + empty choice payload.
Import and receiver
const { updateId } = await ocp.OpenCapTable.issuerAuthorization.withdraw({
issuerAuthorizationContractId,
systemOperatorParty: SYSTEM_OPERATOR_PARTY,
});
console.log(updateId); // Canonical audit anchor
Parameters
- issuerAuthorizationContractId (string) — Live
IssuerAuthorizationcontract id you previously captured fromauthorizeor ledger queries. - systemOperatorParty (string) — Canton party id with
system_operatorprivilege for that package line.
Returns
Promise<{ updateId: string; response: SubmitAndWaitForTransactionTreeResponse }>
Errors
Canton surfaces authorization failures if actAs omitted / wrong — ensure systemOperatorParty matches DAML context.