Users

Update invitation

PUT /api/v1/users/invitations/{id}

Changes a pending invitation's role in place. No new email is sent; the original accept link grants the new role.

Request Body

{ "role": "admin" }

Valid roles are admin, editor, and viewer. No new email is sent; the original accept link simply grants the new role. Requires the owner or an admin.

Response

{
  "id": 3,
  "email": "[email protected]",
  "role": "admin",
  "created_at": "2026-08-20T15:04:00Z",
  "expires_at": null
}