---
title: "Switch an X account's paid background reads"
method: PATCH
path: "/api/v1/profiles/{profileId}/accounts/{accountId}"
tags: ["Accounts"]
---

# Switch an X account's paid background reads

`PATCH /api/v1/profiles/{profileId}/accounts/{accountId}`

## Request

- Base URL: `https://app.tryadeli.com`
- URL: `https://app.tryadeli.com/api/v1/profiles/{profileId}/accounts/{accountId}`
- Auth: HTTP bearer

## Path parameters

- `profileId` string, uuid, required
- `accountId` string, uuid, required

## Request body

- object
  - `xCapabilities` object, required
    - `analytics` boolean
    - `inbox` boolean

## Response `200`

Success

- object

## Other responses

- `400`: Invalid request, or no profile named
- `401`: Missing or invalid API key
- `403`: The connection is healthy but lacks a permission or provider-confirmed resource this feature requires. Restart OAuth using the structured guidance.
- `404`: Profile, account, or object not found
- `422`: The connected account cannot do this because credentials expired or the platform is unsupported
- `502`: The platform's API failed

---

[API](https://skmtc.dev/tryadeli/apis/adeli-api.md) · [All operations](https://skmtc.dev/tryadeli/apis/adeli-api/llms.txt) · [OpenAPI document](https://skmtc.dev/tryadeli/apis/adeli-api/revisions/7b8012dc8477?raw)
