curl --request PUT \
--url https://platform.versori.com/api/organisations/v1/organisations/{organisation_id}/invitations/{invitation_id}/resend \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"email": "[email protected]",
"url": "<string>",
"authUrl": "<string>",
"inviteType": "transfer_ownership"
}
'{
"id": "<string>",
"email": "[email protected]",
"name": "<string>",
"picture": "<string>",
"accepted": true,
"inviteType": "transfer_ownership",
"expiresAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"roles": [
"<string>"
],
"groupIDs": [
"<string>"
]
}ResendInvitation resends an invitation for the given Organisation. This is typically used to resend an invitation which has expired or was not received. Everytime an invitation is resent, the expiresAt time is updated to 7 days from the current time.
curl --request PUT \
--url https://platform.versori.com/api/organisations/v1/organisations/{organisation_id}/invitations/{invitation_id}/resend \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"email": "[email protected]",
"url": "<string>",
"authUrl": "<string>",
"inviteType": "transfer_ownership"
}
'{
"id": "<string>",
"email": "[email protected]",
"name": "<string>",
"picture": "<string>",
"accepted": true,
"inviteType": "transfer_ownership",
"expiresAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"roles": [
"<string>"
],
"groupIDs": [
"<string>"
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
OK
Invitation represents an invitation to join an Organisation. The invitation may be deleted if it is no longer wanted, or a new invitation email can be sent. Accepted invitations are automatically deleted.
transfer_ownership, join_organisation Roles are the list of role names to be granted to this Member at the organisation scope.
GroupIDs are the list of group IDs to be added to this Member.