Enable a Company

In this article

    You can enable a disabled company with the specified ID or instanceUid.


    To enable a company, send the POST HTTPS request to the URL of the /tenants/{ID}/enable resource.

    Alternatively you can use the /tenants/{ID}/action and /tenants/{instanceUid}/action resources. These resources remain for backward compatibility purposes. We recommend to use the /tenants/{ID}/enable resource.

    HTTP Request

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

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

    POST https://<hostname>:1281/v2/tenants/{instanceUid}/action

    Request Headers

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

    Request Body

    If you decide to use the tenants/{id}/action or tenants/{instanceUid}/action resource you must send the enable action property with the null value in the request body:

    {"enable": null}


    The server returns the following response to the client.

    Response Code

    A successfully completed operation returns response code 200 OK.

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

    Example Enable a Company

    The following example enables a company with ID 3.


    POST https://localhost:1281/v2/tenants/3/enable


    Request Header:

    Content-Type: application/json

    Authorization: Bearer <Access-Token>


    Response Code:

    200 Success


    Response Body:

    "Company has been enabled."