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

# Archive counterparty

`DELETE /v1/counterparties/{counterpartyId}`

Archives a counterparty. Archived counterparties are hidden from default lists.

## Path parameters

- `counterpartyId` string, required — Counterparty 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 archived

## Other responses

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

## Changes

- **2026-08-15** `3e302bba5386` — 4 warning
  - added the new `SERVICE_UNAVAILABLE` enum value to the `error/code` response property for the response status `401`
  - added the new `SERVICE_UNAVAILABLE` enum value to the `error/code` response property for the response status `403`
  - added the new `SERVICE_UNAVAILABLE` enum value to the `error/code` response property for the response status `404`
  - added the new `SERVICE_UNAVAILABLE` enum value to the `error/code` response property for the response status `500`

[Change history](https://skmtc.dev/solana/apis/solana-developer-platform-api/changes/v1/counterparties/:counterpartyId/delete.md)

---

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