/api/v1/update-vaultUpdate a vault's spending policy
Sets a new spending limit and reset cycle on one vault, replacing the policy the vault was created with.
MANAGE_WORKSPACEDespite the name, this call changes the vault's spending policy only: the limit
for a movement out of the vault, and the cycle its usage counter resets on. The
signer set and the approval threshold are fixed when the vault is created by
POST /api/v1/create_wallet, and this endpoint does not
alter them, nor the vault's address, name, or network. All five fields are
required, so send the current cycle values again when you are only changing the
limit. Read the values in force first with
GET /api/v1/get-vault-limits.
Vault policies are enforced before the signing stage: a movement that exceeds the limit is blocked and never reaches signers, so it cannot be rescued by an approval. Lowering a limit therefore stops movements the workspace may be expecting to make, and raising one widens what a single proposal can move before anyone signs. Confirm the figure with the people accountable for the vault, and see Vault policies for how the limit and the cycle work together.
vault_idstringrequiredworkspace_idnumberrequiredtransaction_limitstringrequiredcycle_periodstringrequiredcycle_daynumberrequired#What happens next
Read the policy back with
GET /api/v1/get-vault-limits to confirm the stored
values, and test a representative amount against the new limit with
GET /api/v1/check-vault-limit before the desk relies
on it. Members see their own headroom through
GET /api/v1/get-my-limits, which reports their role
limit rather than the vault's.