# Update account (tenant) invite of user Update an invitation for a specific user to join an account (tenant). To set a specific expiration time, use the expiresInMinutes parameter to define when the invitation will be invalidated. Use the shouldSendEmail Boolean parameter to control whether an invitation email is sent. A valid environment token is required to call this endpoint. You can obtain it from the environment authentication route. Endpoint: PATCH /resources/tenants/invites/v1/user Security: bearer ## Header parameters: - `frontegg-user-id` (string, required) The user ID identifier - `frontegg-tenant-id` (string, required) The account (tenant) ID identifier ## Request fields (application/json): - `expiresInMinutes` (number) - `shouldSendEmail` (boolean) ## Response 200 fields (application/json): - `id` (string, required) - `vendorId` (string, required) - `tenantId` (string, required) - `userId` (string) - `token` (string, required) - `expires` (string, required) - `shouldSendEmail` (boolean, required) - `name` (string) - `roleIds` (array)