Users > Settings

Update current driver’s settings.

PUT update settings

Endpoint

PUT /api/v1/users/settings

Parameters

Name Description
settings[push_job_notification] Settings push job notification
settings[push_message_notification] Settings push message notification

Request

Route

PUT /api/v1/users/settings

Headers

Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxOTIwIiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzQ4NTE2NTQyLCJleHAiOjE3NTExMDg1NDIsImp0aSI6Ijc0MDc5MjczLTBmN2QtNDcwZS04ZDFmLTg0MTY5ZGE5OWRkNyJ9.COmlboSL62pJT5DEGmWJWRBzqDs4ilwB3qfV7ba0AEc
Host: example.org
Cookie: 

Body

{
  "settings": {
    "push_job_notification": false,
    "push_message_notification": true
  }
}

Response

Simulated Response

Status

200

Headers

x-frame-options: SAMEORIGIN
x-xss-protection: 0
x-content-type-options: nosniff
x-permitted-cross-domain-policies: none
referrer-policy: strict-origin-when-cross-origin
content-type: application/json; charset=utf-8
vary: Accept, Origin
etag: W/"d54e0a36ac919a9b9e829cab8330bd03"
cache-control: max-age=0, private, must-revalidate
x-request-id: 937b71a5-79d5-496b-8b02-36e58ff64735
x-runtime: 0.011257
content-length: 88

Body

{
  "settings": {
    "id": false,
    "push_job_notification": false,
    "push_message_notification": true
  }
}