Stripe | Financial Infrastructure to Grow Your Revenue

Stripe | Financial Infrastructure to Grow Your Revenue

4466 articles

Delete


delete Make DELETE HTTP requests to the Stripe API. See the API reference for a complete list of supported URL paths. Command: stripe delete ### Arguments - `

URL path of the API object to delete. ### Flags --c, --confirmSkip the warning prompt and automatically confirm the command being entered. ---dark-styleUse a darker color scheme better suited for lighter command-line environments. --d, --data

Additional data to send with an API request. Supports setting nested values (e.gnested[param]=value). - -e, --expand

Response attributes to expand inline (target nested values withnested[param]=value). - -i, --idempotency

Set an idempotency key for the request, preventing the same request from replaying within 24 hours. ---liveMake a live request. Requests run in a sandbox by default. --s, --show-headersShow response HTTP headers. ---stripe-account

Specify the Stripe account to use for this request. --v, --stripe-version

` Specify the Stripe API version to use for this request. ### Examples Delete a customer sh stripe delete /the relevant part of the product Are you sure you want to perform the command: DELETE? Enter 'yes' to confirm: Response { "id": "cus_9s6XKzkNRiz8i3", "object": "customer", "deleted": true }

Last verified 2026-09-24

Is this helpful?