Update a User
PUT /users/:param
Update a user by its ID or its email.
User role cannot be updated through the API, this action can only be done in platform’s Back Office.
Params
Attributes
Username of the user. If none if defined, one will be automatically be created with a sanitized combination of the last name, the first name and a random 4 digit number.
Sample generated username: doe.jane#0000
.
Image URL for user's avatar. Image file must be publicly accessible and use the https
protocol.
Employed
Looking for a job
Student
Freelancer
Working for a startup
Website of the user, the URL must use the https
protocol.
Social networks links of the user, URLs must use the https
protocol.
socials
attributes
Options relative to the user creation.
options
attributes
false
Speaker
, define if the user can be highlighted with the filter of the same name in the Speakers page. false
true
to skip the review. Sample request body
{
"email": "user-email@domain.com",
"type": "Speaker",
"firstName": "Jane",
"lastName": "Doe",
"username": "SuperJane",
"avatar": "https://domain.com/image-link.jpg",
"job": "Tester",
"company": "Comp Limited",
"tags": ["Mentor", "Host"],
"timezone": "Europe/Paris",
"country": "France",
"city": "Paris",
"status": "Employed",
"website": "https://jane-doe.com",
"socials": {
"facebook": "https://www.facebook.com/jane.doe",
"linkedin": "https://www.linkedin.com/in/janedoe/",
"twitter": "https://twitter.com/janedoe",
"youtube": "https://www.youtube.com/@janedoe"
},
"options": {
"highlight": false,
"endRegistration": false
}
}
Returns
If all provided data are valid and the user is updated with success the response will return the following attributes, otherwise it will return an error.
If some, list of non blocking errors that occured after user update.