Assign Backup Policy
You can assign a backup policy to a Veeam backup agent with the specified ID.
To assign a backup policy, send the POST HTTPS request to the URL of its resource. In URL query, you must provide backup policy system ID and specify whether license escalation is allowed. The default value for allowLicenseEscalate parameter is false.
The request header must contain the authorization token.
The server returns the following response to the client.
A successfully completed operation returns response code 200 OK.
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
In the response body, Veeam Service Provider Console returns a message for an action.
The following example assigns backup policy with ID 3 to Veeam backup agent with ID cc52bf30-a1b0-41dd-8b24-553dab48b43f.
Authorization: Bearer <Access-Token>
"Backup policy has been assigned."