users

Create a user

post/users/

Request body

usernamestring required

The user's log in name.

first_namestring
last_namestring
emailstring email
passwordstring required
is_superuserboolean

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

Response

Return the created 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.91019

    • 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 201 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 201 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 201

      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 201

      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 201 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

  • 62d33b790834775See the full diff
    • added the new required request property roles (media type: application/json)

      new-required-request-property

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

      new-required-request-property

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

      new-required-request-property

    • 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 201 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 201 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

    • 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 201

      response-property-pattern-added

    • added the required property roles to the response with the 201 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