POST /api/../inviteanonymousendusertoblueprint

Returns an end user invitation link, based on a specified blueprint. The link can then be sent to an end user.

A policy ID, blueprint ID and owning project member ID must be specified. To retrieve the available relevant IDs, use OPTIONS /api/v3/invitations.

Request Path

POST /api/v3/invitations/actions/inviteanonymousendusertoblueprint

Request Payload

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

Parameters

policyId The ID of the environment policy to assign to the environment created for the end user. The policy will govern the life cycle of the end user’s environment.
blueprintId The ID of the blueprint based on which the end user’s environment will be created.
owningProjectMemberId The ID of the project member user to assign the end user to
opportunity The name of the business opportunity to be associated with the end user
validForDays The number of days to keep the invitation valid for
regionId Optional. The region in which to create the environment. A list of available regions can be obtained from here. The default region is US East (Miami).
InviteeCanSetEmail Optional. Boolean. Indicates whether an end user can set email when accepting the invitation. Default is true.

Response Example

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