Skip to main content
PUT
/
v1
/
api
/
users
/
auto-withdrawal
Configure automatic withdrawals
curl --request PUT \
  --url http://localhost:3091/v1/api/users/auto-withdrawal \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "enabled": true,
  "threshold": 11
}
'
{}

Authorizations

Authorization
string
header
required

JWT access token from POST /v1/api/auth/login

Body

application/json
enabled
boolean
required
threshold
number
Required range: x >= 10

Response

Auto-withdrawal configuration updated

The response is of type object.