company

Viewset that supports all normal viewset functionality.

post/api/company/studentuser/

Request

  • The document declares no server URL.
  • Auth: none declared

Request body

emailstring email required
usernamestring

Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.

is_activeboolean

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

passwordstring
last_loginstring date-time nullable
date_joinedstring date-time
first_namestring required
last_namestring required

Response

idinteger required
emailstring email required
usernamestring

Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.

is_activeboolean

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

full_namestring required
last_loginstring nullable

Display string in the tenant's configured date_format, not an ISO-8601 value.

date_joinedstring

Display string in the tenant's configured date_format, not an ISO-8601 value.

first_namestring required
last_namestring required

Changes

    • warning

      changed the pattern of the request property / from ^\+[1-9]\d{7,14}$ to ^$|^\+[1-9]\d{7,14}$ (media type: application/json)

    • warning

      changed the pattern of the request property / from ^\+[1-9]\d{7,14}$ to ^$|^\+[1-9]\d{7,14}$ (media type: application/x-www-form-urlencoded)

    • warning

      changed the pattern of the request property / from ^\+[1-9]\d{7,14}$ to ^$|^\+[1-9]\d{7,14}$ (media type: multipart/form-data)

    • info

      the / response's property pattern was changed from ^\+[1-9]\d{7,14}$ to ^$|^\+[1-9]\d{7,14}$ for the status

    • breaking

      added the pattern ^\+[1-9]\d{7,14}$ to the request property / (media type: application/json)

    • breaking

      added the pattern ^\+[1-9]\d{7,14}$ to the request property / (media type: application/x-www-form-urlencoded)

    • breaking

      added the pattern ^\+[1-9]\d{7,14}$ to the request property / (media type: multipart/form-data)

    • info

      the / response's property pattern ^\+[1-9]\d{7,14}$ was added for the status