POST Method
The POST HTTPS method in the Veeam Backup for Microsoft 365 REST API can be used in two different ways:
Request: POST https://abc.tech.local:4443/v8/BackupRepositories
Request Header: Authorization: Bearer <Access-Token>
Request Body: { "proxyId": "89e8c35e-6c73-4f46-a37d-b365e513f7c6", "name": "Azure", "description": "Azure storage", "retentionPeriodType": "Yearly", "yearlyRetentionPeriod": "Years3", "retentionFrequencyType": "Daily", "dailyTime": "14:00:00", "dailyType": "Everyday", "retentionType": "SnapshotBased", "objectStorage": { "accountId": "62184b76-b935-42a9-868e-d55e83f052fa", "type": "AzureBlob", "azureContainer": { "name": "Container1", "regionType": "Global" }, "azureFolder": "Folder1", "SizeLimitEnabled": false }, "objectStorageEncryptionEnabled": true, "encryptionKeyId": "428fbab8-264a-4452-888f-9bb97775307b" } |
Request: POST https://abc.tech.local:4443/v8/RestoreSessions/{restoreSessionId}/organization/mailboxes/{mailboxId}/items/{itemId}/exportToPst
Request Header: Authorization: Bearer <Access-Token>
Request Body: { "contentKeyword": "...", "enablePstSizeLimit": false, "items": [ {"id": "74685f6b-16aa-4a78-a44f-05526ce0ae30"}, {"id": "70013a9e-c446-429d-aa78-9c8c20d9b814"} ] } |