PUT
/
users
/
address
/
{address}
/
notification-preferences
curl --request PUT \
  --url https://api-staging.boost.xyz/users/address/{address}/notification-preferences \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "boostCompleted": true,
  "boostStarted": true
}'
{
  "id": "<string>",
  "user": "<string>",
  "notificationPreferences": {
    "boostStarted": true,
    "boostCompleted": true
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

address
string
required

Body

application/json
boostCompleted
boolean
required
boostStarted
boolean
required

Response

200
application/json
Success
id
string
required
user
string
required
notificationPreferences
object
required