---
title: "Archive a customer."
method: POST
path: "/customer/{customer_id}/archive"
tags: ["customers"]
---

# Archive a customer.

`POST /customer/{customer_id}/archive`

Deactivate a customer, revoking their license and access to associated resources.
Useful for offboarding or suspending customers without deleting their data.

Required RBAC Policy: kots/license/[:licenseid]/archive

## Path parameters

- `customer_id` string, required

## Response `204`

On success, no payload returned

## Other responses

- `400` — Returned on bad input
- `401` — Return if the caller is not authorized
- `403` — Returned if the caller does not have the needed permission
- `404` — Returned on resource not found

---

[API](https://skmtc.net/replicated/apis/vendor-api-v3.md) · [All operations](https://skmtc.net/replicated/apis/vendor-api-v3/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/replicated/vendor-api-v3/revisions/6fcf9e54aba4/schema)
