Acronis Cyber Protect Cloud unites backup and next-generation, AI-based anti-malware, antivirus, and endpoint protection management in one solution.
Go to siteimport { axios } from "@pipedream/platform"
export default defineComponent({
props: {
acronis_cyber_protect_cloud: {
type: "app",
app: "acronis_cyber_protect_cloud",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.acronis_cyber_protect_cloud.$auth.data_center_url}/api/2/clients/${this.acronis_cyber_protect_cloud.$auth.client_id}`,
headers: {
Authorization: `Bearer ${this.acronis_cyber_protect_cloud.$auth.oauth_access_token}`,
},
})
},
})
Acronis Cyber Protect Cloud uses OAuth authentication. When you connect your Acronis Cyber Protect Cloud account, Pipedream will open a popup window where you can sign into Acronis Cyber Protect Cloud and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any Acronis Cyber Protect Cloud API.
Pipedream requests the following authorization scopes when you connect your account:
offline_access
POST
{{custom_fields.data_center_url}}/bc/idp/token
content-type: application/x-www-form-urlencoded
accept: application/json
grant_type=client_credentials
&
scope={{oauth.comma_separated_scopes}}
POST
{{custom_fields.data_center_url}}/bc/idp/token
content-type: application/x-www-form-urlencoded
accept: application/json
grant_type=client_credentials
&
scope={{oauth.comma_separated_scopes}}