v1

latestOpenAPI 3.0.12026-07-26152262362.2 KB
Users

Resend invite

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.

post/iam/v1/users/{id}/actions/resend

Path parameters

idstring required

The unique ID of the invited user.

Query parameters

dryRunboolean

If true, validates and simulates the operation without committing changes. The response shape is identical to a real execution.

Headers

Idempotency-Keystring required

Client-generated idempotency key (UUID v4 or ULID recommended, max 255 characters). Re-submitting the same key with the same request returns the cached response without re-executing side effects. The server retains the key for at least 24 hours.

Request body

object required

Response

OK - Invite resent and expiry reset.

messagestring required

Success message

inviteIdstring required

The invite document ID.