---
title: "Partial update organization invitation"
method: PATCH
path: "/api/organizations/{organization_id}/invitations/{id}/"
tags: ["organizations"]
---

# Partial update organization invitation

`PATCH /api/organizations/{organization_id}/invitations/{id}/`

## Request

- Base URL: `https://docs.blindinsight.io` (the document declares no server; this is the origin it was published from)
- URL: `https://docs.blindinsight.io/api/organizations/{organization_id}/invitations/{id}/`
- Auth: one of:
  - API key in cookie `sessionid`
  - HTTP basic
  - HTTP bearer
- TypeScript: <https://skmtc.dev/blindinsight/apis/blind-insight-rest-api/docs/api/organizations/:organization_id/invitations/:id/patch.ts> (a function with typed inputs; its response is checked against the schema)

Update one or more fields of an organization invitation. This does not replace
the entire invitation, it only updates the fields provided in the request.

The response is the updated invitation object.

**On the command line:**

```bash
blind organizations invitations partial-update --organization-id "<organization-id>" --id "<invitation-id>" --data organization-invitation-update.json
```

## Path parameters

- `id` string, required
- `organization_id` string, required

## Request body

- PatchedOrganizationInvitation: HyperlinkedModelSerializer with `id` as the first field.
  - `id` string
  - `url` string, uri
  - `organization` string, uri
  - `guid` string, uuid
  - `invitee_identifier` string: The contact identifier for the invitee, email, phone number, social media handle, etc.
  - `created` string, date-time
  - `modified` string, date-time
  - `invited_by` string, uri
  - `invitee` string, uri, nullable

## Response `200`

- OrganizationInvitation: HyperlinkedModelSerializer with `id` as the first field.
  - `id` string, required
  - `url` string, uri, required
  - `organization` string, uri, required
  - `guid` string, uuid, required
  - `invitee_identifier` string, required: The contact identifier for the invitee, email, phone number, social media handle, etc.
  - `created` string, date-time, required
  - `modified` string, date-time, required
  - `invited_by` string, uri, required
  - `invitee` string, uri, nullable

---

[API](https://skmtc.dev/blindinsight/apis/blind-insight-rest-api.md) - [All operations](https://skmtc.dev/blindinsight/apis/blind-insight-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/blindinsight/apis/blind-insight-rest-api/revisions/0ac902401cea?raw)
