---
title: "Update Auto Access"
method: PUT
path: "/api/{version}/consent_management/{ConsentPublicId}/accounts"
tags: ["consent_management"]
---

# Update Auto Access

`PUT /api/{version}/consent_management/{ConsentPublicId}/accounts`

Set a consented app's auto update status. Use this endpoint to allow or disallow an app to automatically add new accounts to an end user's consent. This sets the consent object's `auto_enable_future_accounts` field to true or false.

## Request body

- object
  - `automatic_access` boolean, required

## Response `200`

Successful response

- Consent — Consent object
  - `id` string
  - `application_name` string
  - `application_icon_url` string, nullable
  - `created_at` string
  - `last_accessed` string
  - `accounts` object[]
    - `enabled` boolean
    - `nickname` string
    - `account_id` string
    - `account_number_display` string
  - `auto_enable_future_accounts` boolean
  - `consented_on` string
  - `revoked_at` string, nullable

---

[API](https://skmtc.net/mx/apis/consent-management-v4-api.md) · [All operations](https://skmtc.net/mx/apis/consent-management-v4-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mx/consent-management-v4-api/revisions/bf6bb86ee0c8/schema)
