This is an archive version of the document. To get the most up-to-date information, see the current version.

Get Site Scopes

In this article

    You can get a representation of a collection of all site scopes configured for a reseller with the specified ID.

    Request

    To get all reseller site scopes, send the GET HTTPS request to the URL of the /resellers/{ID}/siteScopes collection.

    HTTP Request

    GET https://<Availability-Console>:1281/v2/resellers/{ID}/siteScopes

    Request Headers

    The request header must contain the authorization token for the current logon session.

    Response

    The server returns the following response to the client.

    Response Code

    A successfully completed operation returns response code 200 Success.

    Response Headers

    The response to this request contains the following headers. The response may also include additional standard HTTP headers.

    Header

    Description

    Content-length

    The length of the response body.

    Content-type

    The media type and syntax of the request body message: application/json; charset=utf-8

    Response Body

    In the response body, Veeam Availability Console returns a representation of the /resellers/{ID}/siteScopes collection.

    Example Get Site Scopes

    The following request returns all site scopes configured for a reseller with ID 2.

    Request:

    GET https://localhost:1281/v2/resellers/2/siteScopes

     

    Request Header:

    Authorization: Bearer <Access-Token>

     

    Response Code:

    200 Success

     

    Response Body:

    [

     {

       "cloudConnectAgentUid": "d68b878a-0633-4dfa-a94d-82d35dda936d",

       "tenantQuota": 0,

       "tenantQuotaIsUnlimited": true,

       "siteName": "Beta",

       "_links": [

         {

           "rel": "self",

           "method": "GET",

           "href": "https://vac.tech.local:1281/v2/resellers/2/siteScopes/d68b878a-0633-4dfa-a94d-82d35dda936d"

         }

       ]

     },

     {

       "cloudConnectAgentUid": "a4c4b86d-ef50-468c-be51-01f1e0e1c306",

       "tenantQuota": 0,

       "tenantQuotaIsUnlimited": true,

       "siteName": "Gamma",

       "_links": [

         {

           "rel": "self",

           "method": "GET",

           "href": "https://vac.tech.local:1281/v2/resellers/2/siteScopes/a4c4b86d-ef50-468c-be51-01f1e0e1c306"

         }

       ]

     }

    ]

    I want to report a typo

    There is a misspelling right here:

     

    I want to let the Veeam Documentation Team know about that.