Share this page

# Get Cloud Account

Available in versions: 2020 SP2 and later

Retrieves a cloud account by its ID.

## URL

Copy code

    /Admin/rest/v1/cloud/accounts/{accountID}

## Remarks

None

## HTTP Method

GET: Returns the cloud account description.

## Request

Headers:

Accept: application/xml

Cookies:

ADM_LWSSO={AdmLwssoCookie};

Request Body:

GET: No request body.

Request Example
Copy code

    GET http://<LRE_Server>/Admin/rest/v1/cloud/accounts/3 HTTP/1.1
    Host: PCServer
    Accept: application/xml
    Cookie: ADM_LWSSO={AdmLwssoCookie};

## Response

Headers:

One of:

- Content-Type: application/xml

- Content-Type: application/json

Cookies:

None

HTML Return Code:

One of the HTTP Return Codes

Upon successful deletion, returns HTTP status 201 (Created).

HTML Body:

GET: Returns the cloud account data.

This table lists the fields in the response:

Element | Description
--- | ---
ActiveHost | Number of currently provisioned hosts.
ActiveHostLimit | Maximum number of allowed active hosts.

Response Example
Copy code

    {
       "ID": 3,
       "ActiveHosts": 0,
       "LastSyncTime": "2020-07-03T18:24:30.421365",
       "Credits": 817.0,
       "Name": "CB",
       "Description": "",
       "Provider": "Amazon EC2",
       "ActiveHostsLimit": 14,
       "AccountNumber": "9f27941b-ad0b-4301-97d9-9218c70974e9",
       "ProjectUID": "a027a5be-9dff-4e59-aa11-2e5a1a827jki",
       "AssignedProjects": [
       "DEFAULT\\my_proj"
       ],
       "CreatedBy": "sa",
       "UserName": "John.Smith@acme.com",
       "CompanyName": "AM"
    }

## See Also

Provision cloud hosts
Deprovision cloud hosts
Get provision request
Get all provision requests
Get all cloud hosts
Audit cloud hosts

Tips to improve your search results... LoadRunner Enterprise Administration REST API Reference LRE Admin REST API All View Local Help Center View Online Help Center back Go back in browser history forward Go forward in browser history Remove search highlights next topic Go to next topic previous topic Go to previous topic Print the current topic(Undefined variable: _rscC_Basic_Variables.VersionLabel)