Apis::V4::User API

update my user model

Parameters

Name Description type
access_token JSON Web Token retrieved from the Sessions endpoint (you can also passthis into the Authorization header)
data The payload data that will update your user model
data[attributes][timezone] The user's timezone as a numerical UTC hour offset. The attribute type is String, even though it's numerical. The string may contain integer or decimal values. Users must supply a timezone in order to receive push notifications. Accepted values are: -1, -1.0, -10, -10.0, -11, -11.0, -12, -12.0, -2, -2.0, -3, -3.0, -3.5, -4, -4.0, -5, -5.0, -6, -6.0, -7, -7.0, -8, -8.0, -9, -9.0, 0, 0.0, 1, 1.0, 10, 10.0, 11, 11.0, 12, 12.0, 12.75, 13, 13.0, 2, 2.0, 3, 3.0, 3.5, 4, 4.0, 4.5, 5, 5.0, 5.5, 5.75, 6, 6.0, 6.5, 7, 7.0, 8, 8.0, 9, 9.0, and 9.5 String

Request

Headers

Version: HTTP/1.0
Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjo3NCwiZXhwIjoxNzk0NTQwMjA4LCJpYXQiOjE3OTQ1NDAwMjh9.Qc54AXgzS481-k7md7uMJ98C3Jf-8hwO1bQKrXoPR4I
Host: example.org
Cookie: 

Route

PUT /apis/v4/users/me

Body

Response

Headers

X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
X-Download-Options: noopen
X-Permitted-Cross-Domain-Policies: none
Referrer-Policy: strict-origin-when-cross-origin
Content-Type: application/vnd.api+json
Vary: Accept
X-MH-Session: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjo3NCwiZXhwIjoxNzk0NzEyODI4LCJpYXQiOjE3OTQ1NDAwMjh9.3NvQCuK49z3wRT_1LmwqlyrwMRBLQbHNJTgSIIZv7vQ
Access-Control-Expose-Headers: X-MH-Session
ETag: W/"3e664acfd1b8926d5f14d13f45e4cd54"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 9f95a146-f247-4994-ac85-99e40dfc4354
X-Runtime: 0.045498
Content-Length: 467

Status

200

Body