Endpoint to obtain date of last change
Good morning.
I have a list of +100 tenants type customer to monitor if backup is going correctly. In order to automate this operation I have been thinking about a control panel to show me a list of these customers group by agents installed on each tenant with the last change shown on "Backup storage" screen.
I know there is a button called "All customers" but it only displays the last backup created on each device, shown on "Devices" screen, but sometimes is not the same date that it shows the "Backup storage" screen.
I have logged in, got list of customers but I don't know how to access to this information via API. I'm not understanding the vault documentation, specially refered to "X-Apigw-Tenant-Id" that you have to param on header call
I understand that first I have to fech to this endpoint "{{base_url}}/api/vault_manager/v1/vaults" to obtain vaultID of every tenant/customer
And finally I have to fetch endpoint "{{base_url}}/api/vault_manager/v1/vaults/{vault_id}/archives" to obtain every archive with the last change date I'm searching.
Am I right? Does someone can help understanding why I can't obtain data with Postman? I think the problem is that I don't understand what value I have to stablish on "X-Apigw-Tenant-Id" key on header.
I look forward to your feedback. Best regards.
Attachment | Size |
---|---|
Imagen1.png | 30.72 KB |

- Log in to post comments

Good morning, Jose Pedro:
Thank you for your response.
I can't get the backups even using that Postman collection, I'm not understanding what value I have to enter in the X-Apigw-Tenant key, I've tried with several IDs of my subtenants.
To make the case easier: I have 4 folders in the root folder, and inside the second folder a list of more than 100 different clients, from whom I get their tenant ID, which I understand is the ID that I must enter in that key. If it is not that ID that I have to enter, I can understand that it is the ID of each of your vaults.
- Log in to post comments

Víctor Fernández wrote:Good morning, Jose Pedro:
Thank you for your response.
I can't get the backups even using that Postman collection, I'm not understanding what value I have to enter in the X-Apigw-Tenant key, I've tried with several IDs of my subtenants.
To make the case easier: I have 4 folders in the root folder, and inside the second folder a list of more than 100 different clients, from whom I get their tenant ID, which I understand is the ID that I must enter in that key. If it is not that ID that I have to enter, I can understand that it is the ID of each of your vaults.
Hello Victor,
Thanks for updating the thread.
I suggest raising a ticket with our MSP account and attaching all those details there. Our experts will assist you with the issue at https://kb.acronis.com/content/8153.
Feel free to update this thread with the solution provided, as it may help other users.
Thanks in advance!
- Log in to post comments