curl --request POST \
--url https://platform.versori.com/api/organisations/v1/organisations/{organisation_id}/invitations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"email": "[email protected]",
"url": "<string>",
"authUrl": "<string>",
"inviteType": "transfer_ownership",
"roles": [
"<string>"
]
}
'{
"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>"
]
}InviteMember invites a new User to the given Organisation. The user will receive an email with a link to accept the invitation. The invitation is valid for 7 days, after which the invitation will need to be resent or deleted. Expired invitations may be deleted manually, or will be automatically deleted after 60 days.
curl --request POST \
--url https://platform.versori.com/api/organisations/v1/organisations/{organisation_id}/invitations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"email": "[email protected]",
"url": "<string>",
"authUrl": "<string>",
"inviteType": "transfer_ownership",
"roles": [
"<string>"
]
}
'{
"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.
Created
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.