---
title: "PATCH /api/organization/{id}"
method: PATCH
path: "/api/organization/{id}"
tags: ["organization"]
---

# PATCH /api/organization/{id}

`PATCH /api/organization/{id}`

## Request

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

Organization details. A suspended organization (`is_rogue`) can still
be fetched, so its page can show the suspension notice, but only its
id, name and flag are returned to anyone but staff.

## Path parameters

- `id` integer, required

## Request body

- PatchedOrganizationRequest
  - `name` string
  - `homepage` string, nullable
  - `description` string
  - `orgnr` string
  - `postalAddress` string, nullable
  - `streetAddress` string, nullable

## Response `200`

- Organization
  - `id` integer, required
  - `name` string, required
  - `homepage` string, nullable
  - `description` string
  - `orgnr` string, required
  - `postalAddress` string, nullable
  - `streetAddress` string, nullable
  - `editorId` integer, nullable, required
  - `editorName` string, required
  - `editorEmail` string, nullable, required
  - `editorMsisdn` string, nullable, required: Always None: no phone number is published for an organization or its editor. Kept so clients built against the old schema still parse.
  - `fkmember` boolean, required
  - `isRogue` boolean, required

## Other responses

- `400`
- `401`
- `403`
- `404`
- `405`
- `406`
- `415`
- `500`

## Changes

- **2026-11-20** `e369cef7b049`: 1 warning, 1 info
  - added the new `required` enum value to the `oneOf[#/components/schemas/OrganizationPartialUpdateValidationError]/errors/items/oneOf[#/components/schemas/OrganizationPartialUpdateOrgnrErrorComponent]/code` response property for the response status `400`
  - the response property `orgnr` became required for the status `200`
- **2026-11-13** `c4cac446b13d`: 1 breaking, 1 info
  - added `#/components/schemas/OrganizationPartialUpdateOrgnrErrorComponent` to the `oneOf[#/components/schemas/OrganizationPartialUpdateValidationError]/errors/items/` response property `oneOf` list for the response status `400`
  - added `orgnr` discriminator mapping keys to the `oneOf[#/components/schemas/OrganizationPartialUpdateValidationError]/errors/items/` response property for the response status `400`
- **2026-11-13** `63a7107b8488`: 2 info
  - added the new optional request property `orgnr`
  - added the optional property `orgnr` to the response with the `200` status
- **2026-11-12** `6f69c16e2051`: 1 info
  - added the required property `isRogue` to the response with the `200` status
- **2026-08-27** `3761c2b166bb`: 1 breaking, 1 info
  - for the `path` request parameter `id`, the type changed from `string` to `integer`
  - removed the pattern `^\d+$` from the `path` request parameter `id`

[Operation history](https://skmtc.dev/frikanalen/apis/frikanalen-django-api/changes/api/organization/:id/patch.md)

---

[API](https://skmtc.dev/frikanalen/apis/frikanalen-django-api.md) - [All operations](https://skmtc.dev/frikanalen/apis/frikanalen-django-api/llms.txt) - [OpenAPI document](https://skmtc.dev/frikanalen/apis/frikanalen-django-api/revisions/ebd4175e41fe?raw)
