Skip to content

DisconnectWallet

Walter Lara edited this page Apr 7, 2024 · 1 revision

Disconnect Wallet

Allows Wallet disconnection from a Mobile device.

Request

URL: /v1/wallet-connections/{connectionId}

Method: DELETE

Path Parameters:

Parameter Type Description
connectionId string UUID of the connection.

Query Parameters: None

Headers:

Authorization: Bearer {accessToken}

Content: None

✅ Success Response

Code: 204 NO CONTENT

Headers: None

Content: None

❌ Error Responses

1. Unauthorized

Code: 401 UNAUTHORIZED

Condition: If {accessToken} is invalid or expired.

2. Forbidden

Code: 403 FORBIDDEN

Condition: If the connection belongs to another User.

Headers:

Content-Type: application/json

Content example:

{
    "code": 403,
    "description": "Forbidden",
    "cause": "User doesn't own connection"
}

3. Not Found

Code: 404 NOT FOUND

Condition: If the specified Connection is not found.

Headers:

Content-Type: application/json

Content example:

{
    "code": 404,
    "description": "Not Found",
    "cause": "Entity WalletConnectionEntity, id=d0907e3d-a9a7-43b1-93dc-f3b0ee929021 not found in the database"
}

See Also

Generate Wallet Connection Challenge

Answer Wallet Connection Challenge

Generate Wallet Connection QR Code

Connect Wallet

Get Wallet Connections

Clone this wiki locally