Assign Subscription Plan to Company
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
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." |