Skip to main content
Pausing a policy skips its rules during evaluation. Resuming it enforces the same rules again. The policy keeps its ID, scope, rules, and account assignments. Use pause and resume to:
  • Stop enforcing a policy until you explicitly resume it.
  • Schedule enforcement to resume automatically after a temporary pause.
Pausing a policy removes its restrictions while the pause is in effect. It does not freeze the wallet or block signing. If no remaining active policy has rules targeting an operation, that operation is accepted by default.

Pause a policy

Choose an existing policy’s ID. The pause applies to every account governed by that policy: User wallets support project-scope policies only. Other applicable policies continue to follow the normal evaluation rules. Pausing one policy does not pause the others. Use a secret API key from the policy’s project with the Non-custodial > Manage (modify policies) scope enabled. These requests do not require a wallet secret. The SDKs read CDP_API_KEY_ID and CDP_API_KEY_SECRET from your environment. For the CLI, map those exported credentials to its environment variables once:

Pause until you resume

Omit the resume deadline to pause until you explicitly resume the policy.

Resume automatically

Set a resume deadline in the future, at most 30 days from the request.

Resume a policy

Resume enforcement before the deadline, or clear an indefinite pause:
If you set resumeAt, the policy is evaluated again once the deadline passes, without a separate resume request.

Read the result

Pause and resume both return 200 with the policy object. The SDKs return a Policy; the CLI prints the JSON response. Python uses paused_at and resume_at for the corresponding JSON fields. An active response omits pausedAt and resumeAt, including after an automatic resume. Get and list responses report the same effective state. For example, this policy is paused for one hour:

Repeated requests

Errors

Limitations

  • A pause applies to the whole policy. You cannot pause an individual rule or operation.
  • Policy pause must be enabled for your project. You can still resume an existing pause if pause access is later disabled.