Removing Objects to Manage

In this article

    You can remove objects added to a restore operator role with the specified ID as objects to manage from this restore operator role.

    Request

    DELETE https://<hostname>:4443/v6/RbacRoles/{roleId}/selectedItems?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 objects to manage that you want to remove from the restore operator role.

    For more information on how to get this parameter, see Getting Objects to Manage. 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 objects to manage from the restore operator role.

    Request:

    DELETE https://abc.tech.local:4443/v6/RbacRoles/97edf1c9-74a1-480d-8b60-29b9ef331bd9/selectedItems?ids=a4e58481-9bd5-4d41-9f46-01c14862f6f4efc04e81-0531-4d6e-bd36-13ff6b9040f300000000-0000-0000-0000-000000000000

     

    Request Header:

    Authorization: Bearer <Access-Token>

     

    Response:

    204 No Content