Removing Object Storage

You can remove the specified object storage from the Veeam Backup for Microsoft 365 backup infrastructure.

Consider the following:

  • You cannot remove an object storage repository that is in use by an extended backup repository.

For more information on how to remove object storage, see the Removing Object Storage Repositories section of the Veeam Backup for Microsoft 365 User Guide.

  • When removing an object storage repository from the Veeam Backup for Microsoft 365 infrastructure, the backup data will not be removed from this storage.

Request

DELETE https://<hostname>:4443/v6/objectstoragerepositories/{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 object storage. For more information on how to get this parameter, see Getting Object Storage 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 the object storage with the ID af15334e-824b-490f-90c9-a121efe51d67.

Request:

DELETE https://abc.tech.local:4443/v6/objectstoragerepositories/af15334e-824b-490f-90c9-a121efe51d67

 

Request Header:

Authorization: Bearer <Access-Token>

 

Response:

204 No Content