Skip to main content

Endpoint for tenant devices list

Thread solved
Beginner
Posts: 2
Comments: 3

Greetings!! dear community, i need advice. please show me endpoint with witch i can get list of devices and its statuses (protected/not protected/ type of protection). is it exist?

0 Users found this helpful
Acronis Forum Engineer
Posts: 25
Comments: 3607

Hello Vladimir.

Thanks for posting.

You can find the information in this page: https://developer.acronis.com/doc/agents/v2/guide/agents/fetching-agents

Let me know if this helped with the query.

Thanks in advance!

Beginner
Posts: 2
Comments: 3

Yes, perfect, thats it!

 

Additionally can you please explain why with the script below i reeived only few of my tenants? not all. some restriction by default?

curl -X GET -G \
  --url 'https://eu2-cloud.acronis.com:443/api/agent_manager/v2/agents' \
  -H 'Authorization: Bearer MYTOKEN'\
  -H 'Accept: application/json'

 

I need it to identify all tenant ID which is different from tenant id structure in web control panel for some reason.

Acronis Forum Engineer
Posts: 25
Comments: 3607

Hello Vladimir.

What commands are you using? This one? https://developer.acronis.com/doc/account-management/v2/guide/tenants/f…

Thanks!

Beginner
Posts: 2
Comments: 3

Jose Pedro Magalhaes wrote:

Hello Vladimir.

What commands are you using? This one? https://developer.acronis.com/doc/account-management/v2/guide/tenants/f…

Thanks!

 Hello  Jose Pedro Magalhaes,

Please find command with this link

https://developer.acronis.com/doc/agents/v2/reference/index#/http/api-e…

curl -X GET -G \
  --url 'https://dev-cloud.acronis.com:443/api/agent_manager/v2/agents' \

it was just a little bit hard to understand how to find some parameters (tenant_id for example). But it works

 

Acronis Forum Engineer
Posts: 25
Comments: 3607

Vladimir Chalyy wrote:
Jose Pedro Magalhaes wrote:

Hello Vladimir.

What commands are you using? This one? https://developer.acronis.com/doc/account-management/v2/guide/tenants/f…

Thanks!

 Hello  Jose Pedro Magalhaes,

Please find command with this link

https://developer.acronis.com/doc/agents/v2/reference/index#/http/api-e…

curl -X GET -G \
  --url 'https://dev-cloud.acronis.com:443/api/agent_manager/v2/agents' \

it was just a little bit hard to understand how to find some parameters (tenant_id for example). But it works

 

Hello Vladimir!

Thanks for sharing what helped you to archive the goal.

Feel free to participate anytime you need.

Thanks in advance!