Update a User

put

/api/v2/users/{id}/

Make a PUT or PATCH request to this resource to update this user. The following fields may be modified:

  • username: Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only. (string, required)
  • first_name: (string, default="")
  • last_name: (string, default="")
  • email: (string, default="")
  • is_superuser: Designates that this user has all permissions without explicitly assigning them. (boolean, default=False)
  • is_system_auditor: (boolean, default=False)
  • password: Write-only field used to change the password. (string, default="")

For a PUT request, include all fields in the request.

Request

Supported Media Types
Path Parameters
Query Parameters
Body ()
Root Schema : schema
Type: object
Show Source
Back to Top

Response

200 Response

Back to Top