---
title: "Update Consent Scopes"
method: POST
path: "/api/consents/{grant_id}/scopes"
tags: ["Consents"]
---

# Update Consent Scopes

`POST /api/consents/{grant_id}/scopes`

## Request

- Base URL: `https://api.earmarkiq.app` (the document declares no server; this is the origin it was published from)
- URL: `https://api.earmarkiq.app/api/consents/{grant_id}/scopes`
- Auth: HTTP bearer

Grant or withdraw the optional scopes on MY grant, independently of
the spending scope: balances_and_assets and income_and_payday.

Client-only, active grants only: the scope can never be switched on
by an adviser, an invite, or acceptance of an unrelated grant — this
endpoint is the sole way it turns on. Withdrawing takes effect at
the adviser's next request.

## Path parameters

- `grant_id` string, uuid, required

## Request body

- ScopeUpdateRequest
  - `balances_and_assets` boolean, nullable
  - `income_and_payday` boolean, nullable

## Response `200`

Successful Response

- ScopeUpdateResponse
  - `id` string, required
  - `status` string, required
  - `scopes` string[], required
  - `covers` string[], required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/earmarkiq/apis/earmark-api.md) · [All operations](https://skmtc.dev/earmarkiq/apis/earmark-api/llms.txt) · [OpenAPI document](https://skmtc.dev/earmarkiq/apis/earmark-api/revisions/4a2c41907105?raw)
