---
title: "Merge an account for an entity"
method: POST
path: "/v1/{id}/accounts/{accId}/merge"
tags: ["Entity Endpoints"]
---

# Merge an account for an entity

`POST /v1/{id}/accounts/{accId}/merge`

## Request

- Base URL: `https://api.carbonregistry.com`
- URL: `https://api.carbonregistry.com/v1/{id}/accounts/{accId}/merge`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/carbonregistry/apis/carbonregistry-api/docs/v1/:id/accounts/:accId/merge/post.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `id` string, required
- `accId` string, required

## Response `200`

- EntityDeleteSubAccountResponseDto
  - `success` boolean, required: Indicates if the operation was successful

---

[API](https://skmtc.dev/carbonregistry/apis/carbonregistry-api.md) - [All operations](https://skmtc.dev/carbonregistry/apis/carbonregistry-api/llms.txt) - [OpenAPI document](https://skmtc.dev/carbonregistry/apis/carbonregistry-api/revisions/b0f71533dff5?raw)
