---
title: "Archive counterparty account"
method: DELETE
path: "/v1/counterparties/{counterpartyId}/accounts/{counterpartyAccountId}"
tags: ["Counterparties"]
---

# Archive counterparty account

`DELETE /v1/counterparties/{counterpartyId}/accounts/{counterpartyAccountId}`

Archives a counterparty payment account. Archived accounts are hidden from default lists.

## Path parameters

- `counterpartyId` string, required — Counterparty identifier.
- `counterpartyAccountId` string, required — Counterparty account identifier.

## Headers

- `x-project-id` string — Selects the active project for this request. Required for session/dashboard callers. Ignored when authenticating with an API key, whose scope is fixed to the key's project.

## Response `204`

Counterparty account archived

## Other responses

- `401` — Error
- `403` — Error
- `404` — Error
- `500` — Error

---

[API](https://skmtc.net/solana/apis/solana-developer-platform-api.md) · [All operations](https://skmtc.net/solana/apis/solana-developer-platform-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/solana/solana-developer-platform-api/revisions/672b1916ba61/schema)
