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

Replace a Site Scope

In this article

    You can change parameters of a specific reseller site scope by replacing it in Veeam Availability Console configuration.

    Request

    To replace a site scope in Veeam Availability Console, send the PUT HTTPS request to the URL of the /resellers/{ID}/siteScopes/{cloudConnectAgentUid} resource.

    HTTP Request

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

    Request Headers

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

    Request Body

    In the request body, the client must send the following properties for the site scope that must be added into Veeam Availability Console configuration:

    • tenantQuota
    • tenantQuotaIsUnlimited

    Response

    The server returns the following response to the client.

    Response Code

    A successfully completed operation returns response code 201 Created.

    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 status and a message for an action.

    Example Replace a Site Scope

    The following example replaces a reseller site scope with management agent ID d68b878a-0633-4dfa-a94d-82d35dda936d.

    Request:

    PUT https://localhost:1281/v2/resellers/2/siteScopes/d68b878a-0633-4dfa-a94d-82d35dda936d

     

    Request Header:

    Content-Type: application/json

    Authorization: Bearer <Access-Token>

     

    Request Body:

    {

     "tenantQuota": 20,

     "tenantQuotaIsUnlimited": false

    }

     

    Response Code:

    201

     

    Response Body:

    "Site scope for the reseller has been modified."

    I want to report a typo

    There is a misspelling right here:

     

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