users

Partially update a User

Update an existing user with only the specified fields.

The response will be the updated user object.

On the command line:

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

Request

Path parameters

idstring required

A unique value identifying this user.

Request body

idstring
urlstring uri
last_loginstring date-time nullable
is_superuserboolean

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

emailstring email
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.