---
title: "Update a specific organization invite."
method: PATCH
path: "/orgs/{org}/invites/{slug_perm}/"
tags: ["orgs"]
---

# Update a specific organization invite.

`PATCH /orgs/{org}/invites/{slug_perm}/`

Update a specific organization invite.

## Request body

- OrganizationInviteUpdateRequestPatch
  - `role` 'Owner' | 'Manager' | 'Member' | 'Collaborator' — The role to be assigned to the invited user.

## Response `200`

Invite updated

- OrganizationInvite
  - `email` string, email — The email of the user to be invited.
  - `expires_at` string, date-time
  - `inviter` string
  - `inviter_url` string, uri, nullable
  - `org` string
  - `role` 'Owner' | 'Manager' | 'Member' | 'Collaborator' — The role to be assigned to the invited user.
  - `slug_perm` string, slug
  - `teams` OrganizationTeamInvite[]
    - `role` 'Manager' | 'Member' — The role to be assigned to the invited user in the team.
    - `team` string, slug, required — The team identifier (slug).
  - `user` string — The slug of the user to be invited.
  - `user_url` string, uri, nullable

## Other responses

- `400` — The invite cannot be updated.
- `404` — Invite not found.
- `422` — Missing or invalid parameters (see detail).

---

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