Delete a Wallet

To delete a wallet, send a DELETE request to the /wallet/<wallet_name> endpoint.

Delete a wallet

DELETE https://api.playfix.io/wallet/<wallet_name>

Path Parameters

NameTypeDescription

wallet_name*

String

Name of the wallet to delete. This should be the value of name from a previously created wallet. It begins with "wallets/" followed by a ULID.

Headers

NameTypeDescription

Authorization*

String

Bearer <your_access_token>

{

}

Example cURL API Call

curl --request DELETE \
  --url 'https://api.playfix.io/wallet/<wallet_name>' \
  --header 'Authorization: Bearer <your_access_token>'

Example Python API Call

import requests

r = requests.delete(
    "https://api.playfix.io/wallet/<wallet_name>",
    headers = {
        "Authorization": "Bearer <your_access_token>"
        }
    )

print(r.text)

Response

{

}

The response is an empty object, indicating that the project has been deleted successfully.

Last updated