---
title: "Resend invite"
method: POST
path: "/iam/v1/users/{id}/actions/resend"
tags: ["Users"]
---

# Resend invite

`POST /iam/v1/users/{id}/actions/resend`

Resets the invite expiry to 48 hours from now, invalidates the previous invite token (so
old email links stop working), and triggers a fresh invitation email. Works on invites in
any state including `Cancelled` — resending a cancelled invite reactivates it to `Pending`.

Returns `404` if no invite exists for the given ID (never created, or already accepted and removed).

Requires `usersManager` permission.

## Path parameters

- `id` string, required

## Query parameters

- `dryRun` boolean

## Headers

- `Idempotency-Key` string, required

## Request body

- object

## Response `200`

OK - Invite resent and expiry reset.

- ResendInviteResponse — Response confirming invite resend.
  - `message` string, required — Success message
  - `inviteId` string, required — The invite document ID.

## Other responses

- `400` — Bad Request - The server cannot process the request, often due to a malformed request.
- `401` — Unauthorized - Invalid API key.
- `403` — Forbidden - The client is not authorized to perform the request.
- `404` — Not Found - The requested resource does not exist.
- `500` — Internal Server Error - Something went wrong with the DoiT API server.

---

[API](https://skmtc.dev/doit/apis/doit-cloud-intelligence.md) · [All operations](https://skmtc.dev/doit/apis/doit-cloud-intelligence/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/doit/doit-cloud-intelligence/revisions/9416402fc119/schema)
