Delete a pricing unit

View as Markdown
Deletes a pricing unit. Units referenced by prices, wallets, grants, plans, or events cannot be deleted.

Authentication

AuthorizationBearer
API key obtained from the Grant dashboard

Path parameters

idstringRequiredformat: "cuid"

Response

Pricing unit deleted
successboolean
idstring
ID of the deleted pricing unit
request_idstring

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
500
Internal Server Error