users

Partial update of a user.

patch/users/{id}/

Path parameters

idinteger required

A unique integer value identifying this user.

Request body

usernamestring

The user's log in name.

first_namestring
last_namestring
emailstring email
passwordstring
is_superuserboolean

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

Response

Update successful. Return an updated user.

idinteger required
usernamestring required

The user's log in name.

emailstring email
first_namestring
last_namestring
is_superuserboolean

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

resourceobject required
created_atstring date-time required
modified_atstring date-time required

Changes

Changed in 5 of the 8 revisions of this API.61022

    • added the non-success response with the status 403

      response-non-success-status-added

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • cbf68ddd9760136See the full diff
    • removed the required property roles from the response with the 200 status

      response-required-property-removed

    • removed the request property roles (media type: application/json)

      request-property-removed

    • removed the request property roles (media type: application/x-www-form-urlencoded)

      request-property-removed

    • removed the request property roles (media type: multipart/form-data)

      request-property-removed

    • the endpoint scheme security EDAJWTAuthentication was added to the API

      api-security-added

    • the endpoint scheme security jwtAuth was added to the API

      api-security-added

    • added the new optional request property is_superuser (media type: application/json)

      new-optional-request-property

    • added the new optional request property is_superuser (media type: application/x-www-form-urlencoded)

      new-optional-request-property

    • added the new optional request property is_superuser (media type: multipart/form-data)

      new-optional-request-property

    • added the required property resource to the response with the 200 status

      response-required-property-added

    This revision also has 24 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • c84b4813cab115See the full diff
    • the username response property's maxLength was unset from 150 for the response status 200

      response-property-max-length-unset

    • the endpoint scheme security cookieAuth was added to the API

      api-security-added

    • removed the pattern ^[\w.@+-]+$ from the request property username (media type: application/json)

      request-property-pattern-removed

    • removed the pattern ^[\w.@+-]+$ from the request property username (media type: application/x-www-form-urlencoded)

      request-property-pattern-removed

    • removed the pattern ^[\w.@+-]+$ from the request property username (media type: multipart/form-data)

      request-property-pattern-removed

    • the username response's property pattern ^[\w.@+-]+$ was removed for the status 200

      response-property-pattern-removed

    This revision also has 5 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • the endpoint scheme security cookieAuth was removed from the API

      api-security-removed

    • added the optional property is_superuser to the response with the 200 status

      response-optional-property-added

    This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • 62d33b790834478See the full diff
    • added the pattern ^[\w.@+-]+$ to the request property username (media type: application/json)

      request-property-pattern-added

    • added the pattern ^[\w.@+-]+$ to the request property username (media type: application/x-www-form-urlencoded)

      request-property-pattern-added

    • added the pattern ^[\w.@+-]+$ to the request property username (media type: multipart/form-data)

      request-property-pattern-added

    • removed the required property resource from the response with the 200 status

      response-required-property-removed

    • the username request property's maxLength was set to 150 (media type: application/json)

      request-property-max-length-set

    • the username request property's maxLength was set to 150 (media type: application/x-www-form-urlencoded)

      request-property-max-length-set

    • the username request property's maxLength was set to 150 (media type: multipart/form-data)

      request-property-max-length-set

    • removed the request property is_superuser (media type: application/json)

      request-property-removed

    • removed the request property is_superuser (media type: application/x-www-form-urlencoded)

      request-property-removed

    • removed the request property is_superuser (media type: multipart/form-data)

      request-property-removed

    • removed the optional property is_superuser from the response with the 200 status

      response-optional-property-removed

    • the endpoint scheme security EDAJWTAuthentication was removed from the API

      api-security-removed

    • the endpoint scheme security jwtAuth was removed from the API

      api-security-removed

    • added the new optional request property roles (media type: application/json)

      new-optional-request-property

    • added the new optional request property roles (media type: application/x-www-form-urlencoded)

      new-optional-request-property

    • added the new optional request property roles (media type: multipart/form-data)

      new-optional-request-property

    • removed the non-success response with the status 403

      response-non-success-status-removed

    • the username response's property pattern ^[\w.@+-]+$ was added for the status 200

      response-property-pattern-added

    • added the required property roles to the response with the 200 status

      response-required-property-added

    This revision also has 64 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog