Getting Restore Operator Roles

In this article

    You can get a list of restore operator roles added to Veeam Backup for Microsoft 365.

    Request

    GET https://<hostname>:4443/v6/RbacRoles

    Request Headers

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

    Request Body

    None.

    Response

    The server returns the following response to the client.

    Response Codes

    A successfully completed operation returns a 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 response body message: application/json; charset=utf-8

    Response Body

    In the response body, the server returns a resource representation of the /RbacRoles collection resource.

    Example

    The example returns a resource representation of the restore operator roles added to Veeam Backup for Microsoft 365.

    Request:

    GET https://abc.tech.local:4443/v6/RbacRoles

     

    Request Header:

    Authorization: Bearer <Access-Token>

     

    Response:

    200 OK

     

    Response Body:

    [

     {

       "id": "5b7b13ba-a04e-4e05-8eab-0084ae5410a0",

       "organizationId": "ae19d952-59dc-49f4-b12f-7d6bf465f521",

       "name": "Restore Operator Role 1",

       "description": "",

       "roleType": "SpecificObjects",

       "_links": {

         "self": {

           "href": "/v6/rbacRoles/5b7b13ba-a04e-4e05-8eab-0084ae5410a0"

         },

         "organization": {

           "href": "/v6/organizations/ae19d952-59dc-49f4-b12f-7d6bf465f521"

         },

         "operators": {

           "href": "/v6/rbacRoles/5b7b13ba-a04e-4e05-8eab-0084ae5410a0/operators"

         },

         "selectedItem": {

           "href": "/v6/rbacRoles/5b7b13ba-a04e-4e05-8eab-0084ae5410a0/selectedItems"

         },

         "excludedItems": {

           "href": "/v6/rbacRoles/5b7b13ba-a04e-4e05-8eab-0084ae5410a0/excludedItems"

         }

       }

     },

     {

       "id": "d98464fc-2a6e-4d1d-90a3-fe5c0e18f856",

       "organizationId": "ae19d952-59dc-49f4-b12f-7d6bf465f521",

       "name": "Restore Operator Role 2",

       "description": "",

       "roleType": "EntireOrganization",

       "_links": {

         "self": {

           "href": "/v6/rbacRoles/d98464fc-2a6e-4d1d-90a3-fe5c0e18f856"

         },

         "organization": {

           "href": "/v6/organizations/ae19d952-59dc-49f4-b12f-7d6bf465f521"

         },

         "operators": {

           "href": "/v6/rbacRoles/d98464fc-2a6e-4d1d-90a3-fe5c0e18f856/operators"

         },

         "excludedItems": {

           "href": "/v6/rbacRoles/d98464fc-2a6e-4d1d-90a3-fe5c0e18f856/excludedItems"

         }

       }

     }

    ]