POST v1/bunits/{bunitId}/microsoft365accounts
Assign a account to a business unit.
This will create a consumer as well
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
bunitId |
The ID of the business unit the account should be assigned to | integer |
Required |
Body Parameters
The account object
Microsoft365AccountName | Description | Type | Additional information |
---|---|---|---|
SppId |
string |
None. |
|
Tenant |
Microsoft365Tenant |
None. |
|
BackupPolicies |
Collection of BackupPolicy |
None. |
|
Backups |
Collection of DbBackup |
None. |
|
RestorePoints |
Collection of Microsoft365RestorePoint |
None. |
|
Name |
Name of the data-source |
string |
None. |
DataSourceState |
DataSourceState |
None. |
|
DataSourcePlatform |
DataSourcePlatform |
None. |
|
DataSourceType |
DataSourceType |
None. |
|
BackupServer |
Server |
None. |
|
Consumer |
Consumption unit that relates the VM to a business unit |
Consumer |
None. |
Id |
A unique ID for the object. |
integer |
Read-only. |
CreatedDate |
Time and date the object was created. |
date |
Read-only. |
ArchivedDate |
Time and date the object was or is going to be archived. Unarchived objects have no value in ArchivedDate |
date |
Read-only. |
Operations |
Collection of OperationResult |
None. |
Request Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
Response Information
Resource Description
The account object with the information created
Microsoft365AccountName | Description | Type | Additional information |
---|---|---|---|
SppId |
string |
None. |
|
Tenant |
Microsoft365Tenant |
None. |
|
BackupPolicies |
Collection of BackupPolicy |
None. |
|
Backups |
Collection of DbBackup |
None. |
|
RestorePoints |
Collection of Microsoft365RestorePoint |
None. |
|
Name |
Name of the data-source |
string |
None. |
DataSourceState |
DataSourceState |
None. |
|
DataSourcePlatform |
DataSourcePlatform |
None. |
|
DataSourceType |
DataSourceType |
None. |
|
BackupServer |
Server |
None. |
|
Consumer |
Consumption unit that relates the VM to a business unit |
Consumer |
None. |
Id |
A unique ID for the object. |
integer |
Read-only. |
CreatedDate |
Time and date the object was created. |
date |
Read-only. |
ArchivedDate |
Time and date the object was or is going to be archived. Unarchived objects have no value in ArchivedDate |
date |
Read-only. |
Operations |
Collection of OperationResult |
None. |
Response Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.