Update a User WIP
PUT /v1/users/:param
Update a user by its ID or its email.
User role cannot be updated through this 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.
URL should start with https
protocol or request will be rejected.
Employed
Looking for a job
Student
Freelancer
Working for a startup
Website of the user.
URL should start with https
protocol or request will be rejected.
Social networks links of the user.
URLs should start with https
protocol or request will be rejected.
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 creation.