---
title: "Archive a price plan"
method: DELETE
path: "/price_plans/{price_plan_id}"
tags: ["Price Plans"]
---

# Archive a price plan

`DELETE /price_plans/{price_plan_id}`

## Request

- Base URL: `https://api.togai.com`
- URL: `https://api.togai.com/price_plans/{price_plan_id}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/togaihq/apis/togai-apis/docs/price_plans/:price_plan_id/delete.ts> (a function with typed inputs; its response is checked against the schema)

Archive a price plan

## Path parameters

- `price_plan_id` string, required

## Response `200`

OK

- BaseSuccessResponse
  - `success` boolean, required

## Other responses

- `400`: Error response
- `401`: Error response
- `403`: Error response
- `404`: Error response
- `429`: Error response
- `default`: Error response

## Changes

- **2024-04-24** `6eda37e9e335`: 1 info
  - endpoint added
- **2023-09-02** `6b13f6f47735`: 1 breaking
  - api removed without deprecation

[Operation history](https://skmtc.dev/togaihq/apis/togai-apis/changes/price_plans/:price_plan_id/delete.md)

---

[API](https://skmtc.dev/togaihq/apis/togai-apis.md) - [All operations](https://skmtc.dev/togaihq/apis/togai-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/togaihq/apis/togai-apis/revisions/442f5d8f4aa0?raw)
