(DELETE) /BackupRepositories/{repositoryId}
Removes a backup repository with a specified ID from Veeam Backup for Microsoft Office 365.
Request
To remove a backup repository, send the DELETE HTTPS request to the URL of the /BackupRepositories/{repositoryId} resource:
HTTPS Request
DELETE https://<Backup-Office365>:4443/v3/BackupRepositories/{repositoryId}  | 
Request Headers
The request header must contain the authorization token for the current logon session.
Request Body
None.
Response
The server returns the following response to the client.
Response Codes
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 HTTPS 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
None.
Example
The example below shows how to remove the backup repository with ID 5729d9cf-abfa-4077-9dd5-f5a888b98147.
Request: DELETE https://support.east.local:4443/v3/BackupRepositories/5729d9cf-abfa-4077-9dd5-f5a888b98147 
 Request Header: Authorization: Bearer <Access-Token> 
 Response: 200 OK  |