API ReferenceUsers
Update user profile
Update the authenticated user's profile.
Authorization
sessionAuth AuthorizationBearer <token>
NextAuth session token
In: header
Request Body
application/json
name*string
Length
1 <= lengthResponse Body
application/json
curl -X PATCH "https://platform.autophone.org/api/users/me" \ -H "Content-Type: application/json" \ -d '{ "name": "John Doe" }'{
"user": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"email": "user@example.com",
"createdAt": "2019-08-24T14:15:22Z"
}
}Empty
Empty
Empty