Start typing to search.

API Reference

Regenerate invite link

View Markdown
POST /api/users/{id}/regenerate-invite

Invalidates any existing invite tokens for the user, resets their password to a random placeholder, clears any existing TOTP secret, marks TOTP unverified, and generates a new invite token with 48h expiry.

Operation IDregenerateInvite

Authentication

  • BearerAuth·http bearer·API key token (envoy_<hex>). Create keys from Settings → API Keys — see Using the API.

Path parameters

idintegerrequired

Resource ID

Success response body

200New invite token generated

New invite token generated

Content typeapplication/json

responseobject
1 property
invite_tokenstring

Error responses

403Insufficient permissions

Insufficient permissions

No response content schema is documented.

404Resource not found

Resource not found

Content typeapplication/json

responseobject
2 properties
errorstring
messagestring
Example response
{
  "error": "NOT_FOUND",
  "message": "Resource not found"
}