- About Veeam Backup for Microsoft 365 REST API
- Overview
- Changelog
- Authorization
- Accounts
- Amazon Archiver Appliance
- Amazon S3 Object Storage Buckets and Folders
- Applications
- Audit
- Audit Email Notification Settings
- Azure Blob Object Storage Containers and Folders
- Azure Service Accounts
- getGet Azure Service Accounts
- postAdd Azure Service Account
- getGet Azure Service Account Properties by Account ID
- putEdit Azure Service Account
- delRemove Azure Service Account
- postGet Device Code
- getGet Subscriptions
- getGet Subscription by ID
- getGet Resource Groups
- getGet Resource Group by Name
- getGet Locations
- getGet Location by Name
- getGet Virtual Machine Sizes
- getGet Virtual Machine Size by Name
- getGet Virtual Networks
- getGet Virtual Network by Name
- getGet Subnets
- getGet Subnet by Name
- Backup Accounts
- Backup and Backup Copy Job Session Operations
- Backup and Backup Copy Job Sessions
- Backup Applications
- Backup Copy Jobs
- Backup Jobs
- getGet Backup Jobs
- postCreate Backup Job
- getGet Backup Job
- putEdit Backup Job Settings
- delRemove Backup Job
- getGet Backup Copy Job
- getGet Backup Job Items
- postAdd Items to Backup Job
- delRemove Backup Job Items
- getGet Backup Job Item
- putEdit Backup Job Item
- getGet Excluded Items
- postAdd Items to Exclusions
- delRemove Excluded Items
- getGet Excluded Item
- putEdit Excluded Item
- postEnable Backup Job
- postDisable Backup Job
- postStart Backup Job
- postStop Backup Job
- postCreate Restore Session
- Backup Proxy Pools
- Backup Proxy Servers
- getGet Backup Proxy Servers
- postAdd Backup Proxy Server
- getGet Backup Proxy Server
- putEdit Backup Proxy Server Settings
- postRescan Backup Proxy Server
- postEnable Maintenance Mode for Backup Proxy Server
- postDisable Maintenance Mode for Backup Proxy Server
- postRemove Backup Proxy Server
- postRescan Backup Proxy Servers
- postCheck SSH Connection
- Backup Repositories
- getGet Backup Repositories
- postAdd Backup Repository
- getGet Backup Repository
- putEdit Backup Repository Settings
- delRemove Backup Repository
- getGet Backed-Up Organizations
- postSynchronize Cache
- postCreate Restore Session for Backup Repository by Repository ID
- postChange Owner for Backup Repository by Repository ID
- Backup Repository Change Owner Sessions
- Backup Repository Synchronization
- Configuration
- Data Protection Reports
- Data Retrieval Jobs
- Data Retrieval Session Operations
- Data Retrieval Sessions
- Encryption Passwords
- Events
- Excluded Mailbox Folders
- Global Exclusions from Retention Policy
- Group Data Backups
- Health
- Internet Proxy Server Settings
- Job Session History Settings
- License
- License Usage Report
- Licensed Users
- Mailbox Data Backups
- Mailbox Folders Restore
- Mailbox Items Restore
- getGet Mailbox Item
- getGet Mailbox Items
- postRestore Mailbox Items to Original Mailbox
- postRestore Mailbox Items to Another Mailbox
- postExport Mailbox Items
- postSave Mailbox Items
- postSend Mailbox Items to Original Mailbox
- postSend Mailbox Items to Another Mailbox
- postRestore Mailbox Item to Original Mailbox
- postRestore Mailbox Item to Another Mailbox
- postExport Mailbox Item
- postSave Mailbox Item
- postSend Mailbox Item to Original Mailbox
- postSend Mailbox Item to Another Mailbox
- postRestore Mailbox Items by Restore Operator
- Mailboxes Restore
- Management Mode
- OneDrive Data Backups
- OneDrive Documents Restore
- getGet OneDrive Documents
- getGet OneDrive Document
- getGet Previous Versions of OneDrive Document
- getGet Specific Version of OneDrive Document
- postRestore OneDrive Documents
- postCopy OneDrive Documents
- postSend OneDrive Documents
- postSave OneDrive Documents
- postRestore OneDrive Document
- postRestore Version of OneDrive Document
- postCopy OneDrive Document
- postCopy Version of OneDrive Document
- postSave OneDrive Document
- postSave Version of OneDrive Document
- postSend OneDrive Document
- postSend Version of OneDrive Document
- postRestore OneDrive Documents by Restore Operator
- OneDrive Folders Restore
- getGet OneDrive Folders
- getGet OneDrive Folder
- postRestore OneDrive Folders
- getGet Specific Version of OneDrive Folder
- postCopy OneDrive Folders
- postSave OneDrive Folders
- postSend OneDrive Folders
- getGet Previous Versions of OneDrive Folder
- postRestore OneDrive Folder
- postRestore Version of OneDrive Folder
- postCopy OneDrive Folder
- postCopy Version of OneDrive Folder
- postSave OneDrive Folder
- postSave Version of OneDrive Folder
- postSend OneDrive Folder
- postSend Version of OneDrive Folder
- postSearch for OneDrive Items in OneDrive Folder
- OneDrives of Organization User
- OneDrives Restore
- Organization Data Backups
- Organization Data Restore
- Organization Exclusions from Retention Policy
- Organization Group Members
- Organization Groups
- Organization Licensing
- Organization Sites
- Organization Teams
- Organization Users
- Organizations
- Processed Objects
- Protected Data
- Restore Operator Roles
- getGet All Restore Operator Roles
- getGet Restore Operator Role
- putEdit Restore Operator Role Settings
- delRemove Restore Operator Role
- getGet Restore Operators
- postAdd Restore Operators
- delRemove Restore Operators
- getGet Restore Operator
- getGet Objects to Manage
- postAdd Objects to Manage
- delRemove Objects to Manage
- getGet Object to Manage
- getGet Excluded Objects
- postAdd Excluded Objects
- delRemove Excluded Objects
- getGet Excluded Object
- getGet Restore Operator Roles by Organization ID
- postAdd Restore Operator Role
- Restore Points
- Restore Portal Settings
- Restore Session Events
- Restore Sessions
- S3 Compatible Object Storage Buckets and Folders
- SharePoint Attachments Restore
- SharePoint Data Backups
- SharePoint Documents Restore
- getGet SharePoint Documents
- getGet SharePoint Document
- getGet Specific Version of SharePoint Document
- getGet Previous Versions of SharePoint Document
- postRestore SharePoint Documents to Original Location
- postRestore SharePoint Documents to Another Location
- postRestore Version of SharePoint Document to Original Location
- postRestore Version of SharePoint Document to Another Location
- postRestore SharePoint Document to Original Location
- postRestore SharePoint Document to Another Location
- postSave SharePoint Documents
- postSave Version of SharePoint Document
- postSave SharePoint Document
- postSend SharePoint Documents
- postSend Version of SharePoint Document
- postSend SharePoint Document
- postRestore SharePoint Documents by Restore Operator
- SharePoint Folders Restore
- getGet SharePoint Folders
- getGet SharePoint Folder
- getGet Specific Version of SharePoint Folder
- getGet Previous Versions of SharePoint Folder
- postRestore SharePoint Folders to Original Location
- postRestore SharePoint Folders to Another Location
- postRestore SharePoint Folder to Original Location
- postRestore SharePoint Folder to Another Location
- postRestore Version of SharePoint Folder to Original Location
- postRestore Version of SharePoint Folder to Another Location
- postSave SharePoint Folders
- postSave SharePoint Folder
- postSave Version of SharePoint Folder
- postSend SharePoint Folders
- postSend SharePoint Folder
- postSend Version of SharePoint Folder
- postSearch for SharePoint Documents in SharePoint Folder
- SharePoint Items Restore
- getGet SharePoint Items
- getGet SharePoint Item
- getGet Specific Version of SharePoint Item
- getGet Previous Versions of SharePoint Item
- postRestore SharePoint Items to Original Location
- postRestore SharePoint Items to Another Location
- postRestore SharePoint Item to Original Location
- postRestore Version of SharePoint Item to Original Location
- postRestore SharePoint Item to Another Location
- postRestore Version of SharePoint Item to Another Location
- postRestore SharePoint Items by Restore Operator
- SharePoint Libraries Restore
- SharePoint Lists Restore
- SharePoint Sites Restore
- Synchronization of Organization Objects
- Team Data Backups
- Teams Channels Restore
- Teams Files Restore
- Teams Posts Restore
- Teams Restore
- Teams Tabs Restore
- User Data Backups
- Users Logged In to Restore Portal
- Veeam Backup for Microsoft 365 Email Notification Settings
- Veeam Explorer for Microsoft Exchange Email Settings
- Veeam Explorer for Microsoft OneDrive for Business Email Settings
- Veeam Explorer for Microsoft SharePoint Email Settings
- Veeam Explorer for Microsoft Teams Email Settings
- Version and Installation ID
The /RbacRoles resource collection represents restore operator roles added to Veeam Backup for Microsoft 365 and allows yu to manage restore operator roles.
The /Organizations/{organizationId}/RbacRoles resource allows you to add a restore operator role to an organization.
The Veeam Backup for Microsoft 365 administrator adds restore operator roles to assign permissions to users (or groups) who act as restore operators. Restore operators are allowed to explore and restore data from backups created by Veeam Backup for Microsoft 365 for specific organization object types (users, groups, sites, teams, or the entire Microsoft 365 organization).
Get All Restore Operator Roles
Returns a list of restore operator roles added to Veeam Backup for Microsoft 365.
OK
Operation failure response.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- default
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9",
- "name": "string",
- "description": "string",
- "roleType": "EntireOrganization",
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}
}
]Get Restore Operator Role
Returns a resource representation of a restore operator role with the specified ID.
path Parameters
| roleId required | string <uuid> Specifies the identification number of the restore operator role. For more information on how to get this parameter, see Get All Restore Operator Roles. |
OK
Operation failure response.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- default
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9",
- "name": "string",
- "description": "string",
- "roleType": "EntireOrganization",
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}
}Edit Restore Operator Role Settings
Modifies settings of a restore operator role with the specified ID.
path Parameters
| roleId required | string <uuid> Specifies the identification number of the restore operator role. For more information on how to get this parameter, see Get All Restore Operator Roles. |
Request Body schema: application/jsonrequired
| id | string or null <uuid> Specifies the ID of the restore operator role. |
| organizationId | string <uuid> Specifies the backed-up organization ID. |
| name | string Specifies a name of the restore operator role. |
| description | string Specifies a description of the restore operator role. |
| roleType | string or null Specifies the restore operator role type. The following types are available:
Note: For the restore operator role of the SpecificObjects type, you must specify a collection of objects to manage. Restore operators will be able to explore and restore backed-up data of these objects. |
Array of objects (RESTRbacOperator) Specifies IDs of the restore operators that you want to add to the restore operator role. For more information on how to get such IDs, see Get Restore Operators. | |
Array of objects (RESTRbacItemComposed) Specifies IDs of the objects that you want to add to the restore operator role as objects to manage. Restore operators will be able to explore and restore data from backups created by Veeam Backup for Microsoft 365 for these objects. For more information on how to get such IDs, see Get Objects to Manage. | |
Array of objects (RESTRbacItemComposed) Specifies IDs of the objects that you want to exclude from the scope of the restore operator role. Restore operators will not be able to explore and restore data from backups created by Veeam Backup for Microsoft 365 for these objects. For more information on how to get such IDs, see Get Excluded Objects. |
No Content
Operation failure response.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9",
- "name": "string",
- "description": "string",
- "roleType": "EntireOrganization",
- "operators": [
- {
- "type": "Group",
- "user": {
- "id": "string",
- "onPremisesSid": "string",
- "displayName": "string",
- "name": "string",
- "type": "User"
}, - "id": "string",
- "group": {
- "id": "string",
- "onPremisesSid": "string",
- "displayName": "string",
- "name": "string",
- "type": "Office365"
}
}
], - "selectedItems": [
- {
- "type": "Group",
- "user": {
- "id": "string",
- "onPremisesSid": "string",
- "displayName": "string",
- "name": "string",
- "type": "User"
}, - "id": "string",
- "site": {
- "id": "string",
- "url": "string",
- "title": "string",
- "parentUrl": "string",
- "isCloud": true,
- "isPersonal": true
}, - "group": {
- "id": "string",
- "onPremisesSid": "string",
- "displayName": "string",
- "name": "string",
- "type": "Office365"
}, - "team": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "description": "string",
- "displayName": "string",
- "mail": "string"
}
}
], - "excludedItems": [
- {
- "type": "Group",
- "user": {
- "id": "string",
- "onPremisesSid": "string",
- "displayName": "string",
- "name": "string",
- "type": "User"
}, - "id": "string",
- "site": {
- "id": "string",
- "url": "string",
- "title": "string",
- "parentUrl": "string",
- "isCloud": true,
- "isPersonal": true
}, - "group": {
- "id": "string",
- "onPremisesSid": "string",
- "displayName": "string",
- "name": "string",
- "type": "Office365"
}, - "team": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "description": "string",
- "displayName": "string",
- "mail": "string"
}
}
]
}- default
{- "message": "string",
- "errorCode": "ProxyOffline",
- "stackTrace": "string"
}Remove Restore Operator Role
Removes a restore operator role with the specified ID.
path Parameters
| roleId required | string <uuid> Specifies the identification number of the restore operator role. For more information on how to get this parameter, see Get All Restore Operator Roles. |
No Content
Operation failure response.
- curl
- Python
- JavaScript
- C#
- Go
- default
{- "message": "string",
- "errorCode": "ProxyOffline",
- "stackTrace": "string"
}Get Restore Operators
Returns a resource representation of restore operators added to a restore operator role with the specified ID.
path Parameters
| roleId required | string <uuid> Specifies the identification number of the restore operator role. For more information on how to get this parameter, see Get All Restore Operator Roles. |
OK
Operation failure response.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- default
[- {
- "type": "Group",
- "user": {
- "id": "string",
- "onPremisesSid": "string",
- "displayName": "string",
- "name": "string",
- "type": "User"
}, - "id": "string",
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}, - "group": {
- "id": "string",
- "onPremisesSid": "string",
- "displayName": "string",
- "name": "string",
- "type": "Office365"
}
}
]Add Restore Operators
Adds restore operators to a restore operator role with the specified ID.
path Parameters
| roleId required | string <uuid> Specifies the identification number of the restore operator role. For more information on how to get this parameter, see Get All Restore Operator Roles. |
Request Body schema: application/jsonrequired
| id required | string ID of the restore operator. |
required | object (RESTRbacGroup) |
| type required | string (RESTRbacOperatorType) Type of the object. |
No Content
Operation failure response.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
[- {
- "type": "Group",
- "user": {
- "id": "string",
- "onPremisesSid": "string",
- "displayName": "string",
- "name": "string",
- "type": "User"
}, - "id": "string",
- "group": {
- "id": "string",
- "onPremisesSid": "string",
- "displayName": "string",
- "name": "string",
- "type": "Office365"
}
}
]- default
{- "message": "string",
- "errorCode": "ProxyOffline",
- "stackTrace": "string"
}Remove Restore Operators
Removes restore operators from a restore operator role with the specified ID.
path Parameters
| roleId required | string <uuid> Specifies the identification number of the restore operator role. For more information on how to get this parameter, see Get All Restore Operator Roles. |
query Parameters
| ids required | string Specifies IDs of the restore operators that you want to remove from the restore operator role. For more information on how to get such IDs, see Get Restore Operators. To specify multiple items, use comma. |
No Content
Operation failure response.
- curl
- Python
- JavaScript
- C#
- Go
- default
{- "message": "string",
- "errorCode": "ProxyOffline",
- "stackTrace": "string"
}Get Restore Operator
Returns a resource representation of a restore operator with the specified ID.
path Parameters
| roleId required | string <uuid> Specifies the identification number of the restore operator role. For more information on how to get this parameter, see Get All Restore Operator Roles. |
| operatorId required | string Specifies the identification number of the restore operator. For more information on how to get this parameter, see Get Restore Operators. |
OK
Operation failure response.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- default
{- "type": "Group",
- "group": {
- "id": "string",
- "onPremisesSid": "string",
- "displayName": "string",
- "name": "string",
- "type": "Office365"
}, - "id": "string",
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}
}Get Objects to Manage
Returns a resource representation of objects added to a restore operator role with the specified ID. Restore operators are allowed to explore and restore data from backups created by Veeam Backup for Microsoft 365 for these objects.
path Parameters
| roleId required | string <uuid> Specifies the identification number of the restore operator role. For more information on how to get this parameter, see Get All Restore Operator Roles. |
OK
Operation failure response.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- default
[- {
- "type": "Group",
- "user": {
- "id": "string",
- "onPremisesSid": "string",
- "displayName": "string",
- "name": "string",
- "type": "User"
}, - "id": "string",
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}, - "site": {
- "id": "string",
- "url": "string",
- "title": "string",
- "parentUrl": "string",
- "isCloud": true,
- "isPersonal": true
}, - "group": {
- "id": "string",
- "onPremisesSid": "string",
- "displayName": "string",
- "name": "string",
- "type": "Office365"
}, - "team": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "description": "string",
- "displayName": "string",
- "mail": "string"
}
}
]Add Objects to Manage
Adds objects to a restore operator role with the specified ID. Restore operators will be able to explore and restore data from backups created by Veeam Backup for Microsoft 365 for these objects.
path Parameters
| roleId required | string <uuid> Specifies the identification number of the restore operator role. For more information on how to get this parameter, see Get All Restore Operator Roles. |
Request Body schema: application/jsonrequired
| type | string (RESTRbacItemType) Type of the managed object. |
object (RESTRbacUser) | |
| id | string ID of the organization user. |
object (RESTRbacSite) | |
object (RESTRbacGroup) | |
object (RESTRbacTeam) |
No Content
Operation failure response.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
[- {
- "type": "Group",
- "user": {
- "id": "string",
- "onPremisesSid": "string",
- "displayName": "string",
- "name": "string",
- "type": "User"
}, - "id": "string",
- "site": {
- "id": "string",
- "url": "string",
- "title": "string",
- "parentUrl": "string",
- "isCloud": true,
- "isPersonal": true
}, - "group": {
- "id": "string",
- "onPremisesSid": "string",
- "displayName": "string",
- "name": "string",
- "type": "Office365"
}, - "team": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "description": "string",
- "displayName": "string",
- "mail": "string"
}
}
]- default
{- "message": "string",
- "errorCode": "ProxyOffline",
- "stackTrace": "string"
}Remove Objects to Manage
Removes objects added to a restore operator role with the specified ID as objects to manage from this restore operator role.
path Parameters
| roleId required | string <uuid> Specifies the identification number of the restore operator role. For more information on how to get this parameter, see Get All Restore Operator Roles. |
query Parameters
| ids required | string Specifies IDs of the objects to manage that you want to remove from the restore operator role. For more information on how to get such IDs, see Get Objects to Manage. To specify multiple items, use comma. |
No Content
Operation failure response.
- curl
- Python
- JavaScript
- C#
- Go
- default
{- "message": "string",
- "errorCode": "ProxyOffline",
- "stackTrace": "string"
}Get Object to Manage
Returns a resource representation of an object with the specified ID added to a restore operator role with the specified ID. Restore operators are allowed to explore and restore data from backups created by Veeam Backup for Microsoft 365 for this object.
path Parameters
| roleId required | string <uuid> Specifies the identification number of the restore operator role. For more information on how to get this parameter, see Get All Restore Operator Roles. |
| itemId required | string Specifies the identification number of the object added to the list of objects to manage. For more information on how to get this parameter, see Get Objects to Manage. |
OK
Operation failure response.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- default
{- "type": "Group",
- "user": {
- "id": "string",
- "onPremisesSid": "string",
- "displayName": "string",
- "name": "string",
- "type": "User"
}, - "id": "string",
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}, - "site": {
- "id": "string",
- "url": "string",
- "title": "string",
- "parentUrl": "string",
- "isCloud": true,
- "isPersonal": true
}, - "group": {
- "id": "string",
- "onPremisesSid": "string",
- "displayName": "string",
- "name": "string",
- "type": "Office365"
}, - "team": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "description": "string",
- "displayName": "string",
- "mail": "string"
}
}Get Excluded Objects
Returns a resource representation of objects excluded from the scope of a restore operator role with the specified ID. Restore operators are not allowed to explore and restore data from backups created by Veeam Backup for Microsoft 365 for these objects.
path Parameters
| roleId required | string <uuid> Specifies the identification number of the restore operator role. For more information on how to get this parameter, see Get All Restore Operator Roles. |
OK
Operation failure response.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- default
[- {
- "type": "Group",
- "user": {
- "id": "string",
- "onPremisesSid": "string",
- "displayName": "string",
- "name": "string",
- "type": "User"
}, - "id": "string",
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}, - "site": {
- "id": "string",
- "url": "string",
- "title": "string",
- "parentUrl": "string",
- "isCloud": true,
- "isPersonal": true
}, - "group": {
- "id": "string",
- "onPremisesSid": "string",
- "displayName": "string",
- "name": "string",
- "type": "Office365"
}, - "team": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "description": "string",
- "displayName": "string",
- "mail": "string"
}
}
]Add Excluded Objects
Excludes objects from the scope of a restore operator role with the specified ID. Restore operators will not be able to explore and restore data from backups created by Veeam Backup for Microsoft 365 for these objects.
path Parameters
| roleId required | string <uuid> Specifies the identification number of the restore operator role. For more information on how to get this parameter, see Get All Restore Operator Roles. |
Request Body schema: application/jsonrequired
| type | string (RESTRbacItemType) Type of the managed object. |
object (RESTRbacUser) | |
| id | string ID of the organization user. |
object (RESTRbacSite) | |
object (RESTRbacGroup) | |
object (RESTRbacTeam) |
No Content
Operation failure response.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
[- {
- "type": "Group",
- "user": {
- "id": "string",
- "onPremisesSid": "string",
- "displayName": "string",
- "name": "string",
- "type": "User"
}, - "id": "string",
- "site": {
- "id": "string",
- "url": "string",
- "title": "string",
- "parentUrl": "string",
- "isCloud": true,
- "isPersonal": true
}, - "group": {
- "id": "string",
- "onPremisesSid": "string",
- "displayName": "string",
- "name": "string",
- "type": "Office365"
}, - "team": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "description": "string",
- "displayName": "string",
- "mail": "string"
}
}
]- default
{- "message": "string",
- "errorCode": "ProxyOffline",
- "stackTrace": "string"
}Remove Excluded Objects
Removes objects excluded from the restore operator role scope from a restore operator role with the specified ID.
path Parameters
| roleId required | string <uuid> Specifies the identification number of the restore operator role. For more information on how to get this parameter, see Get All Restore Operator Roles. |
query Parameters
| ids required | string Specifies IDs of the excluded objects that you want to remove from the restore operator role. For more information on how to get such IDs, see Get Excluded Objects. To specify multiple items, use comma. |
No Content
Operation failure response.
- curl
- Python
- JavaScript
- C#
- Go
- default
{- "message": "string",
- "errorCode": "ProxyOffline",
- "stackTrace": "string"
}Get Excluded Object
Returns a resource representation of an object with the specified ID excluded from the scope of a restore operator role with the specified ID. Restore operators are not allowed to explore and restore data from backups created by Veeam Backup for Microsoft 365 for this object.
path Parameters
| roleId required | string <uuid> Specifies the identification number of the restore operator role. For more information on how to get this parameter, see Get All Restore Operator Roles. |
| itemId required | string Specifies the identification number of the object excluded from the scope of the restore operator role. For more information on how to get this parameter, see Get Excluded Objects. |
OK
Operation failure response.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- default
{- "type": "Group",
- "user": {
- "id": "string",
- "onPremisesSid": "string",
- "displayName": "string",
- "name": "string",
- "type": "User"
}, - "id": "string",
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}, - "site": {
- "id": "string",
- "url": "string",
- "title": "string",
- "parentUrl": "string",
- "isCloud": true,
- "isPersonal": true
}, - "group": {
- "id": "string",
- "onPremisesSid": "string",
- "displayName": "string",
- "name": "string",
- "type": "Office365"
}, - "team": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "description": "string",
- "displayName": "string",
- "mail": "string"
}
}Get Restore Operator Roles by Organization ID
Returns a list of restore operator roles added to an organization with the specified ID.
path Parameters
| organizationId required | string <uuid> Specifies the identification number of the Microsoft 365 organization. For more information on how to get this parameter, see Get Organizations. |
OK
Operation failure response.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- default
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9",
- "name": "string",
- "description": "string",
- "roleType": "EntireOrganization",
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}
}
]Add Restore Operator Role
Adds a restore operator role to an organization with the specified ID.
path Parameters
| organizationId required | string <uuid> Specifies the identification number of the Microsoft 365 organization. For more information on how to get this parameter, see Get Organizations. |
Request Body schema: application/jsonrequired
| id | string or null <uuid> Specifies the ID of the restore operator role. |
| organizationId | string <uuid> Specifies the backed-up organization ID. |
| name | string Specifies a name of the restore operator role. |
| description | string Specifies a description of the restore operator role. |
| roleType | string or null Specifies the restore operator role type. The following types are available:
Note: For the restore operator role of the SpecificObjects type, you must specify a collection of objects to manage. Restore operators will be able to explore and restore backed-up data of these objects. |
Array of objects (RESTRbacOperator) Specifies IDs of the restore operators that you want to add to the restore operator role. For more information on how to get such IDs, see Get Restore Operators. | |
Array of objects (RESTRbacItemComposed) Specifies IDs of the objects that you want to add to the restore operator role as objects to manage. Restore operators will be able to explore and restore data from backups created by Veeam Backup for Microsoft 365 for these objects. For more information on how to get such IDs, see Get Objects to Manage. | |
Array of objects (RESTRbacItemComposed) Specifies IDs of the objects that you want to exclude from the scope of the restore operator role. Restore operators will not be able to explore and restore data from backups created by Veeam Backup for Microsoft 365 for these objects. For more information on how to get such IDs, see Get Excluded Objects. |
Created
Operation failure response.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9",
- "name": "string",
- "description": "string",
- "roleType": "EntireOrganization",
- "operators": [
- {
- "type": "Group",
- "user": {
- "id": "string",
- "onPremisesSid": "string",
- "displayName": "string",
- "name": "string",
- "type": "User"
}, - "id": "string",
- "group": {
- "id": "string",
- "onPremisesSid": "string",
- "displayName": "string",
- "name": "string",
- "type": "Office365"
}
}
], - "selectedItems": [
- {
- "type": "Group",
- "user": {
- "id": "string",
- "onPremisesSid": "string",
- "displayName": "string",
- "name": "string",
- "type": "User"
}, - "id": "string",
- "site": {
- "id": "string",
- "url": "string",
- "title": "string",
- "parentUrl": "string",
- "isCloud": true,
- "isPersonal": true
}, - "group": {
- "id": "string",
- "onPremisesSid": "string",
- "displayName": "string",
- "name": "string",
- "type": "Office365"
}, - "team": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "description": "string",
- "displayName": "string",
- "mail": "string"
}
}
], - "excludedItems": [
- {
- "type": "Group",
- "user": {
- "id": "string",
- "onPremisesSid": "string",
- "displayName": "string",
- "name": "string",
- "type": "User"
}, - "id": "string",
- "site": {
- "id": "string",
- "url": "string",
- "title": "string",
- "parentUrl": "string",
- "isCloud": true,
- "isPersonal": true
}, - "group": {
- "id": "string",
- "onPremisesSid": "string",
- "displayName": "string",
- "name": "string",
- "type": "Office365"
}, - "team": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "description": "string",
- "displayName": "string",
- "mail": "string"
}
}
]
}- 201
- default
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9",
- "name": "string",
- "description": "string",
- "roleType": "EntireOrganization",
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}
}