{
  "opencollection": "1.0.0",
  "info": {
    "name": "Acronis Account Management Activities Authentication API",
    "version": "2.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Authentication",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Acronis Request Access Token",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{datacenter}.acronis.com/api/2/idp/token",
            "body": {
              "type": "form-urlencoded",
              "data": [
                {
                  "name": "grant_type",
                  "value": ""
                },
                {
                  "name": "client_id",
                  "value": ""
                },
                {
                  "name": "client_secret",
                  "value": ""
                }
              ]
            }
          },
          "docs": "Request an OAuth2 access token using client credentials, authorization code, or other grant types."
        },
        {
          "info": {
            "name": "Acronis Revoke Access Token",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{datacenter}.acronis.com/api/2/idp/revoke_token",
            "body": {
              "type": "form-urlencoded",
              "data": [
                {
                  "name": "token",
                  "value": ""
                }
              ]
            }
          },
          "docs": "Revoke an OAuth2 access or refresh token."
        }
      ]
    }
  ],
  "bundled": true
}