---
title: "Get Cloud Accounts"
method: GET
path: "/v4/organizations/{organizationId}/cloudAccounts"
tags: ["CMEK"]
---

# Get Cloud Accounts

`GET /v4/organizations/{organizationId}/cloudAccounts`

Fetches the cloud account ID associated with the organization. Use this account ID when adding CMEK to other AWS databases in your organization.

To learn more, see [CMEK at Rest](https://docs.couchbase.com/cloud/security/cmek.html).

In order to access this endpoint, the provided API key must have at least one of the following roles:
  - Organization Owner
  - Project Creator
  - Organization Member

To learn more, see [Organization, Project, and Database Access Overview](https://docs.couchbase.com/cloud/organizations/organization-projects-overview.html).

## Response `200`

Successfully fetched the cloud account ID associated with the organization.

- CloudAccounts
  - `gcp-capella-project` string, required — The GCP project name.
  - `aws-capella-account` string, required — The AWS account ID.
  - `azure-capella-subscription` string, required — The Azure subscription name.

## Other responses

- `403` — The client does not have the necessary permissions to access this resource.
- `404` — The requested resource was not found.
- `429` — Returned when the client exceeds the rate limit for the given APIKey.
- `500` — An unexpected error occurred in the server while processing this request.

---

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