Enabling Backup Policy by Backup Policy ID
This section explains how to enable a backup policy.
Request
POST https://<hostname>/api/v1/policies/{policyId}/enable |
Request Headers
The request header must contain an authorization token of the current session.
Request Parameters
The following parameters must be posted as URL.
Parameter | Description |
policyId | The identification numbers of the backup policy. Can be obtained as described in Getting Backup Policies. |
Request Body
None.
Response
The server returns the following response to the client.
Response Codes
A successfully completed operation returns a response code 200 (OK).
Response Headers
The response to this request contains the following headers. The response may also include additional standard HTTPS headers.
Header | Description |
Content-length | The length of the response body. |
Content-type | The media type and syntax of the response body message: application/json; charset=utf-8 |
Response Body
None.
Example
Request: POST https://<hostname>/api/v1/policies/4094906f-2d81-4a73-b9bc-00482690c285/enable
Request Header: Authorization: Bearer <Access-Token>
Response: 200 OK |