Skip to main content
PUT
/
sdk
/
{environmentId}
/
globalWallets
/
connections
/
{globalWalletConnectionId}
/
disconnect
Set a global wallet connection as disconnected
curl --request PUT \
  --url https://app.dynamicauth.com/api/v0/sdk/{environmentId}/globalWallets/connections/{globalWalletConnectionId}/disconnect \
  --header 'Authorization: Bearer <token>'
{
  "id": "95b11417-f18f-457f-8804-68e361f9164f",
  "userId": "95b11417-f18f-457f-8804-68e361f9164f",
  "appUrl": "http://*.example.com",
  "status": "connected",
  "createdAt": "2023-11-07T05:31:56Z",
  "expiresAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

environmentId
string
required

ID of the environment

Required string length: 36
Example:

"95b11417-f18f-457f-8804-68e361f9164f"

globalWalletConnectionId
string
required

ID of the global wallet connection

Required string length: 36
Example:

"95b11417-f18f-457f-8804-68e361f9164f"

Response

Successfully updated global wallet connection status

id
string
required
Required string length: 36
Example:

"95b11417-f18f-457f-8804-68e361f9164f"

userId
string
required
Required string length: 36
Example:

"95b11417-f18f-457f-8804-68e361f9164f"

appUrl
string
required

An RFC 6454 valid url. Must not include any paths. A single wildcard (*) can be used as the first subdomain.

Example:

"http://*.example.com"

status
enum<string>
required
Available options:
connected,
disconnected
createdAt
string<date-time>
required
expiresAt
string<date-time> | null

If global wallet connection status is connected, then this timestamp will be present.

updatedAt
string<date-time>