v1

latestOpenAPI 3.0.22026-07-26286974.7 KB
Users

Update the name or src of a user.

patch/v1/users/{user_id}

Path parameters

user_idinteger required

The unique ID of the user.

Request body

namestring

The name of the user.

srcstring

The signup source of the user, which is displayed on the Information tab of the user profile. .

Response

200 response

namestring nullable required

The name of the user.

emailstring required

The email address of the user.

rolestring required

The role of the user (e.g., student, owner, affiliate, author, custom, etc.). All newly created users will have the student role by default.

last_sign_in_ipstring nullable required

The last signin IP address of the user. If the user has not yet signed in to their account, the return value is null.

idinteger required

The unique ID of the user.