On this page

    1. Home
    2. API
    3. API Reference
    4. Account
    5. Remove Account Wallet

    Remove Account Wallet

    This endpoint allows you to disconnect a previously linked blockchain wallet from your URnetwork account. Note that removing a wallet may affect your ability to receive payouts or perform subscription-related tasks if no other active wallet remains.


    POST /account/wallets/remove

    Unlinks a specific wallet from the authenticated network account.

    Request

    POST /account/wallets/remove

    Headers:

    {
      "Host": "api.bringyour.com",
      "Content-Type": "application/json",
      "Authorization": "Bearer YOUR_JWT_TOKEN"
    }

    Body:

    {
      "wallet_id": "string"
    }
    FieldTypeDescription
    wallet_idstringRequired. The unique internal UDID of the wallet to be removed.

    Response

    200 Success

    Status: 200 OK

    Content-Type: application/json

    {
      "success": true,
      "error": {
        "message": "string"
      }
    }

    Fields

    FieldTypeDescription
    successbooleantrue if the wallet was successfully unlinked.
    errorobjectPresent if the removal operation failed.
    error.messagestringA descriptive error message explaining the failure.

    Example

    HTTP Request

    POST /account/wallets/remove HTTP/1.1
    Host: api.bringyour.com
    Content-Type: application/json
    Authorization: Bearer YOUR_JWT_TOKEN
     
    {
      "wallet_id": "w_987654321"
    }

    Successful HTTP Response

    {
      "success": true,
      "error": null
    }


    Powered by Sudoc v2.5.0
    Hide table of contents