curl --request POST \
  --url https://api.dots.dev/api/v2/apps/{app_id}/change_settings \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "payout_options_exclude_list": [
    "<string>"
  ],
  "auto_refill_active": true,
  "refill_amount": 500500,
  "refill_threshold": 500500
}'
{
  "payout_options_exclude_list": [
    "<string>"
  ],
  "auto_refill_active": true,
  "refill_amount": 123,
  "refill_threshold": 123
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

app_id
string
required

ID of the app to update.

Body

application/json

Response

200 - application/json
Successfully updated settings

The response is of type object.