These docs are for v2.0. Click to read the latest docs for v3.3.

Update User Settings

Sometimes the app needs to store additional data about the user like gender, avatar, hair color, etc. In that case the app can use the endpoint '/me/settings' in order to set and get the user’s settings. The user’s settings are not meant to store large amounts of data. It’s more likely a small key/value store.

Updates the settings key/value object.

There is a special key password that will update the user’s password with the app.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
curl -i -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -H "Authorization: SESSION_TOKEN" \
  -d '{"hair-color": "pink", "phones": ["13246578","99833212"]}' \
  -X PUT "https://api.thethings.io/v2/me/settings" -k
📘

If your app needs to store more complex data please look at the section "Objects. Storing App data".

Body Params
json
Defaults to {"hair-color": "pink", "phones": ["13246578","99833212"]}

Settings JSON

Headers
string
required

SESSION_TOKEN

Response

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json