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

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://<hostname>:1281/v2/tenants/{ID}/subscriptionPlan/{ID}

Request Headers

The request header must contain the authorization token.

Response

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.

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 Service Provider 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.