Metadata
| Field | Value |
|---|---|
| Name | cards.freeze |
| Category | write |
| Required scope | cards:manage |
| Idempotency key required | no |
Annotations
| Annotation | Value |
|---|---|
| Title | Freeze Card |
| Read-only | no |
| Destructive | no |
| Idempotent | yes |
| Open-world | no |
| Requires human approval | no |
Input schema
Output schema
Auth
Caller’s grant must include thecards:manage scope. Grants whose scope set is a superset of the required scope are accepted.
Request examples
Response examples
Success — card frozen:Errors
| Code | Name | Cause | Remediation |
|---|---|---|---|
-32600 | Invalid request | Malformed JSON-RPC envelope | Check method, jsonrpc, and id fields |
-32602 | Invalid params | card_id not a valid UUID, or card does not exist (card_not_found) | Confirm the card was issued by this agent |
-32001 | Unauthorized | Card belongs to a different vault or a sibling agent | Use the card_id returned by cards.issue for this grant |
-32002 | Policy denied | Grant missing cards:manage scope | Issue a new grant with the required scope |
-32603 | Internal error | Issuer-side freeze call failed | Retry — freeze is idempotent; a second call is safe |