Skip to content

Latest commit

 

History

History
45 lines (31 loc) · 1.58 KB

hostinger_billing_payment-methods_delete.md

File metadata and controls

45 lines (31 loc) · 1.58 KB

hostinger billing payment-methods delete

Delete payment method

Synopsis

Delete a payment method from your account.

Use this endpoint to remove unused payment methods from user accounts.

hostinger billing payment-methods delete <payment-method-id> [flags]

Examples

  hostinger billing payment-methods delete 9693613

Options

  -h, --help   help for delete
  -y, --yes    Skip the confirmation prompt

Options inherited from parent commands

      --config string     Config file (default is $HOME/.hostinger.yaml)
      --domain string     Website domain for commands that act on a website (default: HOSTINGER_DOMAIN, .hostinger/site.json, or default_domain in the config)
      --dry-run           Print the request as a curl command instead of sending it
  -o, --format string     Output format: table|json|yaml|tree (default: table on a terminal, json when piped)
      --jq string         Filter the JSON response with a jq expression, e.g. '.data[].id'
      --no-input          Never prompt; fail when an argument, flag or confirmation is missing
      --order-id string   Order for commands that act on an order (default: HOSTINGER_ORDER_ID, .hostinger/site.json for hosting, or a prompt)
      --username string   Hosting account for commands that act on an account (default: HOSTINGER_USERNAME, the website from --domain, or .hostinger/site.json)
      --verbose           Print the config file used and each HTTP request to stderr

SEE ALSO