users

Update a User

Update an entire existing user, replacing all fields.

The response will be the updated user object.

On the command line:

blind users update --id "<user-id>" --data user.json
put/api/users/{id}/

Request

Path parameters

idstring required

A unique value identifying this user.

Request body

idstring required
urlstring uri required
last_loginstring date-time nullable
is_superuserboolean

Designates that this user has all permissions without explicitly assigning them.

emailstring email required
is_staffboolean

Designates whether the user can log into this admin site.

is_activeboolean

Designates whether this user should be treated as active. Unselect this instead of deleting accounts.

date_joinedstring date-time
first_namestring

First name (optional)

last_namestring

Last name (optional)

settingsobject

Response

idstring required
urlstring uri required
last_loginstring date-time nullable
is_superuserboolean

Designates that this user has all permissions without explicitly assigning them.

emailstring email required
is_staffboolean

Designates whether the user can log into this admin site.

is_activeboolean

Designates whether this user should be treated as active. Unselect this instead of deleting accounts.

date_joinedstring date-time
first_namestring

First name (optional)

last_namestring

Last name (optional)

settingsobject

Changes

No recorded changes to this operation across all 1 revision of this API.