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.eyJ1c2VyX2lkIjoxNjcsImV4cCI6MTcwNDQ3MzIzNCwiaWF0IjoxNzA0NDczMDU0fQ.u0yhJC7c22nSySrLZLgfhHS9sBGZWyryf9qpavXdk0A
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.eyJ1c2VyX2lkIjoxNjcsImV4cCI6MTcwNDY0NTg1NCwiaWF0IjoxNzA0NDczMDU0fQ.bdW6UmhRyYhe4hJEY3xQaP-vIgXfYPOyWU3fo6Zu5pw
Access-Control-Expose-Headers: X-MH-Session
ETag: W/"22041afa6f7f83bd265e781f531228e4"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 413c374d-963e-42ac-938b-42ac4a05dc45
X-Runtime: 0.024418
Content-Length: 469

Status

200

Body