Delete a user's card

A user should be able to unlink a card from his account.

The card will be marked as deleted, but some information are kept due to legal reasons and historic purposes.

Note

The user should be logged in.

DELETE https://api.tradingpartners.ai/api/v1/users/cards/{id}

Delete users/cards/{id} request

Path Parameters


id - string fmt:uuid
The id of the card.

Authorization header

Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0ZXN0IjoidG9rZW4iLCJmb3IiOiJ1c2VyIiwid2l0aCI6ImdyYWRlIiwiZnVsbCI6dHJ1ZX0.sWNz-Z0oGGWoSwaVlOGyzCQdYCWJQmKSSFvZIJzchZw

Response

A valid unlinking of the users card is answered with a 204 status code.

StatusCode: 204