v3

latestOpenAPI 3.0.3MIT2026-07-313881,2455.6 MB
Admin

Updates specified user attributes and returns the updated user if the requesting user is staff. You cannot update yourself to no longer be an admin or active.

patch/api/admin/users/{user_id}/

Path parameters

user_idinteger required

The id of the user to edit

Request body

usernamestring email
namestring
is_activeboolean

Designates whether this user should be treated as active. Set this to false instead of deleting accounts.

is_staffboolean

Designates whether this user is an admin and has access to all workspaces and Baserow's admin areas.

passwordstring

Response

idinteger required
usernamestring email required
namestring required
last_loginstring date-time nullable
date_joinedstring date-time
is_activeboolean

Designates whether this user should be treated as active. Set this to false instead of deleting accounts.

is_staffboolean

Designates whether this user is an admin and has access to all workspaces and Baserow's admin areas.