---
title: "PATCH /api/v2/user_info/"
method: PATCH
path: "/api/v2/user_info/"
tags: ["user_info"]
---

# PATCH /api/v2/user_info/

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

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

## Request body

- PatchedUserInfoRequest: Serializer for the authenticated user's own profile and permissions.
  - `first_name` string
  - `last_name` string
  - `language` union
    - 'en' | 'fi': * `` - Not set * `en` - English * `fi` - Finnish
    - ''
  - `otherinfo` string
  - `notify_vote_code_requests` boolean
  - `notify_program_events` boolean
  - `notify_compo_starts` boolean
  - `notify_competition_starts` boolean

## Response `200`

- UserInfo: Serializer for the authenticated user's own profile and permissions.
  - `id` integer, required
  - `username` string, required: Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.
  - `first_name` string
  - `last_name` string
  - `email` string, email, required
  - `user_permissions` string[], required
  - `is_staff` boolean, required: Designates whether the user can log into this admin site.
  - `is_superuser` boolean, required: Designates that this user has all permissions without explicitly assigning them.
  - `date_joined` string, date-time, required
  - `language` union
    - 'en' | 'fi': * `` - Not set * `en` - English * `fi` - Finnish
    - ''
  - `otherinfo` string
  - `notify_vote_code_requests` boolean
  - `notify_program_events` boolean
  - `notify_compo_starts` boolean
  - `notify_competition_starts` boolean

## Changes

- **2026-03-01** `0223be8f6992`: 4 info
  - added the new optional request property `otherinfo` (media type: application/json)
  - added the new optional request property `otherinfo` (media type: application/x-www-form-urlencoded)
  - added the new optional request property `otherinfo` (media type: multipart/form-data)
  - added the optional property `otherinfo` to the response with the `200` status
- **2026-03-01** `0352ae31fef2`: 4 warning, 4 info
  - removed the request property `notify_programme_events` (media type: application/json)
  - removed the request property `notify_programme_events` (media type: application/x-www-form-urlencoded)
  - removed the request property `notify_programme_events` (media type: multipart/form-data)
  - removed the optional property `notify_programme_events` from the response with the `200` status
  - …4 more
- **2026-02-14** `c6e623655372`: 4 warning, 4 info
  - removed the request property `notify_program_events` (media type: application/json)
  - removed the request property `notify_program_events` (media type: application/x-www-form-urlencoded)
  - removed the request property `notify_program_events` (media type: multipart/form-data)
  - removed the optional property `notify_program_events` from the response with the `200` status
  - …4 more

[Operation history](https://skmtc.dev/instanssi/apis/instanssi-org/changes/api/v2/user_info/patch.md)

---

[API](https://skmtc.dev/instanssi/apis/instanssi-org.md) - [All operations](https://skmtc.dev/instanssi/apis/instanssi-org/llms.txt) - [OpenAPI document](https://skmtc.dev/instanssi/apis/instanssi-org/revisions/d45e162506aa?raw)
