POST /api/../inviteanonymousenduser

This request will return to the user (calling application) an invitation to use an environment specified by the environment policy. The user can then send this invitation at a later time to any recipient.

If the specified policy contains multiple blueprints, the request InviteAnonymousEndUserToBlueprint should be used instead, with the specific blueprint to be used included in the request.

POST /api/v3/invitations/actions/inviteanonymousenduser

Request Payload

{
    "policyId": "POLs3J1NEAESn7ipYMwYq20Q2",
    "owningProjectMemberId": "VPvcJta67Wp3TuDw-j4PhAiQ2"
    "opportunity": "my company inc.",
    "validForDays": 7,
    "regionId": "REKolD1-ab84YIxODeMGob9A2"
}

Parameters

PolicyId The environment policy invitee will be assigned to
Opportunity The name of the (business) opportunity associated with this user
ValidForDays The number of days the invitation is valid
OwningProjectMemberId The id of the Project Member to whom the new user will be assigned
RegionId The Region the Invitation is to be created in. A list of available Regions can be obtained from here. Optional – default region is US East (Miami)

Response examples

{
    "invitationDetailsUrl": "https://use.cloudshare.com/Ent/Vendor/InvitationDetails.aspx?inv=ATMeSj6Rx2U",
    "acceptInvitationUrl": "https://use.cloudshare.com/Ent/AcceptInvitation.mvc?inv=ATMeSj6Rx2U",
    "message": "An invitation was sent successfully";
}