user_info

Retrieve and update the current authenticated user's profile and permissions.

patch/api/v2/user_info/

Request

  • The document declares no server URL.
  • Auth: one of:
    • API key in header Authorization
    • API key in cookie sessionid

Request body

first_namestring
last_namestring
otherinfostring
notify_vote_code_requestsboolean
notify_program_eventsboolean
notify_compo_startsboolean
notify_competition_startsboolean

Response

idinteger required
usernamestring required

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

first_namestring
last_namestring
emailstring email required
user_permissionsstring[] required
is_staffboolean required

Designates whether the user can log into this admin site.

is_superuserboolean required

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

date_joinedstring date-time required
otherinfostring
notify_vote_code_requestsboolean
notify_program_eventsboolean
notify_compo_startsboolean
notify_competition_startsboolean

Changes

    • info

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

    • info

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

    • info

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

    • info

      added the optional property to the response with the status

    • warning

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

    • warning

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

    • warning

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

    • warning

      removed the optional property from the response with the status