API ReferenceUsers
Update user information
PUT
/v1/userinfoUpdates the information of the currently authenticated user.
Analytics Events
USER_USERINFO_UPDATE_STARTUSER_USERINFO_UPDATE_SUCCESSUSER_USERINFO_UPDATE_FAIL
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X PUT "https://example.com/v1/userinfo" \ -H "Content-Type: application/json" \ -d '{ "name": "John Doe" }'{ "id": "8f6d40a9-d913-45e8-aa3e-8c99d62cd8fb", "email": "john-doe@example.com", "pricingPlan": { "type": "Standard", "endDate": "2019-08-24T14:15:22Z" }, "status": "Active", "connectionStrategy": "auth0", "name": "John Doe"}How would you rate this page?