Removing Excluded Objects

You can remove objects excluded from the restore operator role scope from a restore operator role with the specified ID.

Request

DELETE https://<hostname>:4443/v6/RbacRoles/{roleId}/excludedItems?ids=<id_1>,<id_2>,<...>,<id_N>

Request Headers

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

Request Parameters

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

Parameter

Type

Description

roleId

string

Specifies the identification number of the restore operator role. For more information on how to get this parameter, see Getting Restore Operator Roles.

ids

string

Specifies the identification number of one or more excluded objects that you want to remove from the restore operator role.

For more information on how to get this parameter, see Getting Excluded Objects. To specify multiple items, use comma.

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 specified excluded objects from the restore operator role.

Request:

DELETE https://abc.tech.local:4443/v6/RbacRoles/97edf1c9-74a1-480d-8b60-29b9ef331bd9/excludedItems?ids=46c7c3c7-338e-4a28-b2de-e12c6936c979e834489d-4d5d-4727-9cd0-16a01be1987da2b15a66-9d0d-4c74-9cb1-065ce17ef5c8

 

Request Header:

Authorization: Bearer <Access-Token>

 

Response:

204 No Content