---
title: "Update Confluent account"
method: PATCH
path: "/api/v2/integrations/confluent-cloud/accounts/{account_id}"
tags: ["Confluent Cloud"]
---

# Update Confluent account

`PATCH /api/v2/integrations/confluent-cloud/accounts/{account_id}`

Update the Confluent account with the provided account ID.

## Path parameters

- `account_id` string, required

## Request body

- ConfluentAccountUpdateRequest — The JSON:API request for updating a Confluent account.
  - `data` ConfluentAccountUpdateRequestData, required — Data object for updating a Confluent account.
    - `attributes` ConfluentAccountUpdateRequestAttributes, required — Attributes object for updating a Confluent account.
      - `api_key` string, required — The API key associated with your Confluent account.
      - `api_secret` string, required — The API secret associated with your Confluent account.
      - `tags` string[] — A list of strings representing tags. Can be a single key, or key-value pairs separated by a colon.
    - `type` 'confluent-cloud-accounts', required — The JSON:API type for this API. Should always be `confluent-cloud-accounts`.

## Response `200`

OK

- ConfluentAccountResponse — The expected response schema when getting a Confluent account.
  - `data` ConfluentAccountResponseData — An API key and API secret pair that represents a Confluent account.
    - `attributes` ConfluentAccountResponseAttributes, required — The attributes of a Confluent account.
      - `api_key` string, required — The API key associated with your Confluent account.
      - `resources` ConfluentResourceResponseAttributes[] — A list of Confluent resources associated with the Confluent account.
        - `enable_custom_metrics` boolean — Enable the `custom.consumer_lag_offset` metric, which contains extra metric tags.
        - `id` string — The ID associated with the Confluent resource.
        - `resource_type` string, required — The resource type of the Resource. Can be `kafka`, `connector`, `ksql`, or `schema_registry`.
        - `tags` string[] — A list of strings representing tags. Can be a single key, or key-value pairs separated by a colon.
      - `tags` string[] — A list of strings representing tags. Can be a single key, or key-value pairs separated by a colon.
    - `id` string, required — A randomly generated ID associated with a Confluent account.
    - `type` 'confluent-cloud-accounts', required — The JSON:API type for this API. Should always be `confluent-cloud-accounts`.

## Other responses

- `400` — Bad Request
- `403` — Forbidden
- `404` — Not Found
- `429` — Too many requests

---

[API](https://skmtc.net/datadog/apis/api-v2.md) · [All operations](https://skmtc.net/datadog/apis/api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/datadog/api-v2/revisions/da68bf029e4c/schema)
