API Reference

Update a user by ID

The request owner must be updating their own user or they must be a global admin

Log in to see full request history
Path Params
string
required

Id of the user to update

Body Params

Must pass at least one of: name, role, email, github, username; Only admin users may update the role field

string
string

Display name for this user

string

Role level on the DevMatch site (e.g. "admin", "recruiter")

string

Email associated with this account

string

GitHub username of this user

date-time
string

Unique username for displaying on profiles, etc.

Responses
202

The user was successfully updated

400

No valid fields were passed in the request body

404

The current user is not authorized to update this user

Language
Click Try It! to start a request and see the response here!