Removing Backup Repositories

You can remove a backup repository with the specified ID from the Veeam Backup for Microsoft 365 environment.

Request

DELETE https://<hostname>:4443/v6/BackupRepositories/{repositoryId}

Request Headers

The request header must contain an authorization token of the current session.

Request Parameters

The following parameter must be specified in the URL of the request:

Parameter

Type

Description

repositoryId

string

Specifies the identification number of the backup repository. For more information on how to get this parameter, see Getting Backup Repositories.

Request Body

None.

Response

The server returns the following response to the client.

Response Codes

A successfully completed operation returns a response code 204 No Content.

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

The example shows how to remove a backup repository with the ID 5729d9cf-abfa-4077-9dd5-f5a888b98147.

Request:

DELETE https://abc.tech.local:4443/v6/BackupRepositories/5729d9cf-abfa-4077-9dd5-f5a888b98147

 

Request Header:

Authorization: Bearer <Access-Token>

 

Response:

204 No Content