{"section":"known-issues","requestedLocale":"en","requestedSlug":"cannot-remove-credit-card-information-from-an-orderform-via-api","locale":"en","slug":"cannot-remove-credit-card-information-from-an-orderform-via-api","path":"docs/en/known-issues/Shopping/cannot-remove-credit-card-information-from-an-orderform-via-api.md","branch":"main","content":"## Summary\n\nCredit card information cannot be removed from an [`orderForm`](https://developers.vtex.com/vtex-rest-api/reference/checkout-api-overview) via route `/api/checkout/pub/orderForm/{orderFormId}/paymentAccount/{accountId}/remove` when using `appKey`/`appToken` as credentials.\n\nWhen an `appKey` with the appropriate [permissions](https://help.vtex.com/pt/tutorial/roles--7HKK5Uau2H6wxE1rH5oRbc#) submits a request to this route, the API returns an error with `status 500`:\n\"Attempted to perform an unauthorized operation.\"\n\nNote that it is not an error with `status 403`, as is usual for authorization failures.\n\n## Simulation\n\n\n\n## Workaround\n\nCurrently, there is no workaround."}