GET /api/v3/users/actions/getloginurl

Retrieves a URL that logs the requesting user into CloudShare.

The returned URL redirects the browser to CloudShare’s home page and assigns a valid session cookie as if the user had logged in.

Request Path

GET /api/v3/users/actions/getloginurl?redirectPath={redirectPath}

Request Payload

None

Parameters

redirectPath Optional. Specifies to redirect the user to a specified path within the CloudShare domain (use.cloudshare.com), such as a specific page in the UI, where {redirectPath} is the path.

Response Example

{
    "loginUrl": "https://use.cloudshare.com/Pro/Login.mvc/ApiLogin?token=siwDiDF8I0"
}