---
title: "PATCH /api/workspaces/invitations/{workspace_invitation_id}/"
method: PATCH
path: "/api/workspaces/invitations/{workspace_invitation_id}/"
tags: ["Workspace invitations"]
---

# PATCH /api/workspaces/invitations/{workspace_invitation_id}/

`PATCH /api/workspaces/invitations/{workspace_invitation_id}/`

Updates the existing workspace invitation related to the provided `workspace_invitation_id` param if the authorized user has admin rights to the related workspace.

## Path parameters

- `workspace_invitation_id` integer, required

## Request body

- PatchedUpdateWorkspaceInvitation
  - `permissions` string — The permissions that the user is going to get within the workspace after accepting the invitation.

## Response `200`

- WorkspaceInvitation
  - `id` integer, required
  - `workspace` integer, required — The workspace that the user will get access to once the invitation is accepted.
  - `email` string, email, required — The email address of the user that the invitation is meant for. Only a user with that email address can accept it.
  - `permissions` string — The permissions that the user is going to get within the workspace after accepting the invitation.
  - `created_on` string, date-time, required

## Other responses

- `400`
- `404`

---

[API](https://skmtc.dev/baserow/apis/baserow-api-spec.md) · [All operations](https://skmtc.dev/baserow/apis/baserow-api-spec/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/baserow/baserow-api-spec/revisions/f3396317d932/schema)
