v1

latestOpenAPI 3.1.02026-08-042453938.9 KB
Pricing Plans

Delete a pricing plan

Soft-delete a pricing plan by deactivating it.

Requires a secret key (sk_*) with the ADMIN role.

The plan is preserved for historical charges but will no longer be used for new usage events. You can reactivate it by updating isActive to true.

delete/v1/pricing-plans/{id}

Path parameters

idstring required

Pricing plan ID

Response

Pricing plan deleted

{"stackTrail":"paths:/v1/pricing-plans/{id}:delete:responses:204:content:application/json:schema","oasType":"schema","type":"unknown","description":"Pricing plan deleted"}