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

Assign Subscription Plan to Company

In this article

    You can assign a subscription plan with a specified ID to a company.

    Request

    To assign a subscription plan, send the PUT HTTPS request to the URL of the /tenants/{ID}/subscriptionPlan/{ID} resource.

    HTTP Request

    PUT https://<Availability-Console>:1281/v2/tenants/{ID}/subscriptionPlan/{ID}

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

    Example Assign Subscription Plan to Company

    The following example assigns a subscription plan with ID 0 to a company with ID 2.

    Request:

    PUT https://localhost:1281/v2/tenants/2/subscriptionPlan/0

     

    Request Header:

    Content-Type: application/json

    Authorization: Bearer <Access-Token>

     

    Response Code:

    200 Success

     

    Response Body:

    "Subscription plan has been set."

    I want to report a typo

    There is a misspelling right here:

     

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