---
title: "Update Invite"
method: PATCH
path: "/v1/demo/invites/{invite_id}"
tags: ["demo-admin"]
---

# Update Invite

`PATCH /v1/demo/invites/{invite_id}`

## Request

- Base URL: `https://api.claims.zicron.ai`
- URL: `https://api.claims.zicron.ai/v1/demo/invites/{invite_id}`
- Auth: none declared

Update a demo invite.

## Path parameters

- `invite_id` string, required

## Request body

- UpdateInviteRequest
  - `is_active` boolean, nullable
  - `expires_at` string, nullable
  - `max_uses` integer, nullable
  - `name` string, nullable
  - `email` string, nullable
  - `phone` string, nullable
  - `title` string, nullable
  - `company` string, nullable
  - `persona_hint` string, nullable
  - `assigned_personas` string[], nullable
  - `claim_types` string[], nullable
  - `locked` boolean, nullable

## Response `200`

Successful Response

- InviteResponse
  - `id` string, required
  - `token` string, required
  - `email` string, nullable
  - `phone` string, nullable
  - `name` string, nullable
  - `title` string, nullable
  - `company` string, nullable
  - `persona_hint` string, nullable
  - `assigned_personas` string[], required
  - `claim_types` string[], required
  - `locked` boolean
  - `max_uses` integer, required
  - `use_count` integer, required
  - `is_active` boolean, required
  - `expires_at` string, nullable
  - `created_at` string, required
  - `url` string, required

## Other responses

- `422`: Validation Error

---

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