Skip to main content
PATCH
/
custodians
/
me
/
clients
/
{clientId}
/
enable-eject
Enable wallet ejection
curl --request PATCH \
  --url https://api.portalhq.io/api/v3/custodians/me/clients/{clientId}/enable-eject \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "ejectableUntil": "2025-06-18T15:23:00.470Z",
  "walletId": "walletId"
}
'
{
  "ejectableUntil": "2025-03-04T15:26:43.123Z"
}

Authorizations

Authorization
string
header
required

Portal API Key (Custodian API Key). Pass as a Bearer token in the Authorization header.

Path Parameters

clientId
string
required

The unique identifier of the client.

Body

application/json
walletId
string
required

The wallet ID of the wallet to eject.

ejectableUntil
string<date-time>

The time the wallet will no longer be ejectable. Must be at least 1 minute from now.

Response

Eject window enabled successfully

ejectableUntil
string<date-time>

The timestamp until which the wallet is ejectable.