Replace a Company

In this article

    You can change parameters of a specific company by replacing it in Veeam Service Provider Console configuration.


    To replace a company in Veeam Service Provider Console, send the PUT HTTPS request to the URL of the /tenants resource.

    HTTP Request

    PUT https://<hostname>:1281/v2/tenants/{ID}

    Request Headers

    The request header must contain the authorization token.

    Request Body

    In the request body, the client must send the properties for the company that must be added to Veeam Service Provider Console. See the Properties section for the list of properties and their possible values.

    The following properties must not be sent in the request:

    • id
    • instanceUid
    • siteName
    • isEnabled
    • gatewayPools
    • vMsBackedUp
    • vMsReplicated
    • vMsBackedUpToCloud
    • managedPhysicalWorkstations
    • managedCloudWorkstations
    • managedPhysicalServers
    • managedCloudServers
    • expirationDate
    • cloudConnectAgentUid
    • tenantType
    • vcdOrganizationUid


    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.




    The length of the response body.


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

    Response Body

    In the response body, Veeam Service Provider Console returns a status and a message for an action.

    Example Replace a Company

    The following example replaces a company with ID 2 in Veeam Service Provider Console configuration.


    POST https://localhost:1281/v2/tenants/2


    Request Header:

    Content-Type: application/json

    Authorization: Bearer <Access-Token>


    Request Body:


     "password": "AlphaLawrence123",

     "description": "Company created by REST API",

     "bandwidthThrottlingEnabled": true,

     "allowedBandwidth": 15,

     "allowedBandwidthUnits": "MbitPerSec",

     "maxConcurrentTask": 2,

     "expirationEnabled": true,

     "expirationTime": "2020-03-05T17:55:29.559Z",

     "backupProtectionEnabled": true,

     "backupProtectionPeriod": 2,

     "userName": "AlphaCo",

     "firstName": "John",

     "lastName": "Lawrence",

     "title": "Mr",

     "dataTransferGb": 5,

     "networkFailoverResourcesEnabled": true,

     "numberOfPublicIp": 1,

     "publicIpEnabled": true,

     "gatewayFailoverEnabled": true,

     "notes": "",

     "companyId": "Alpha",

     "name": "Alpha Company",

     "country": 1,

     "taxId": "79453187",

     "usState": 3,

     "zipCode": "85396",

     "domain": "",

     "city": "Phoenix",

     "street": "311th Ave",

     "telephone": "+17773215749",

     "emailAddress": "",

     "cloudGatewayPoolsUids": [





    Response Code:

    201 Created


    Response Body:

    "Tenant has been modified."