Skip to main content
PUT
/
tenant
/
{tenantId}
/
admin
/
user
/
invitation
/
resend
ResendInvitation
curl --request PUT \
  --url https://api.example.com/tenant/{tenantId}/admin/user/invitation/resend
{
  "isSuccess": true,
  "isFailure": false,
  "error": null,
  "value": {
    "id": 42,
    "name": "Example"
  }
}

Description

This endpoint resends an existing invitation, generating a new invitation email to the recipient.

Input

  • tenantId (path, required): Identifier of the tenant that owns the invitation
  • id (query, required): Identifier of the invitation to resend
  • cancellationToken (optional): Token to cancel the asynchronous operation

Output

Returns a Result<ICollection<UserInvitationModel>> containing the updated invitation set.

Examples

Request:
PUT /api/tenant/1024/invitations/resend?id=9001
Response (200 OK):
{
  "data": [
    {
      "id": 9001,
      "email": "[email protected]",
      "status": "Pending",
      "createdAt": "2024-03-15T14:45:00Z"
    }
  ],
  "isSuccess": true
}

Errors

  • 400 Bad Request: Invalid invitation identifier
  • 401 Unauthorized: Authentication credentials are missing or invalid
  • 403 Forbidden: User lacks permission to manage invitations
  • 404 Not Found: Invitation does not exist
  • 500 Internal Server Error: Unexpected server error occurred

Notes

  • Only pending invitations can be resent
  • New invitation email is sent to the original recipient

Path Parameters

tenantId
integer<int64>
required

Identifier of the tenant that owns the invitation.

Query Parameters

id
integer<int64>

Identifier of the invitation to resend.

Response

Invitation resent successfully.

Wrapper for API operation results containing success status, error information, and return value.

isSuccess
boolean

True if the operation completed successfully, false otherwise.

Example:

true

isFailure
boolean

True if the operation failed, false otherwise.

Example:

false

error
object

Error information returned when the operation fails.

Example:
{
"code": "ValidationError",
"message": "The request parameters failed validation.",
"info": [
"The Name field is required.",
"The Id field must be greater than 0."
]
}
value
object[] | null

The result value returned when the operation is successful.