{
  "opencollection": "1.0.0",
  "info": {
    "name": "Autodesk ACC Account Admin Account Users Authorization API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "authorization_code",
      "authorizationUrl": "https://developer.api.autodesk.com/authentication/v2/authorize",
      "accessTokenUrl": "https://developer.api.autodesk.com/authentication/v2/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Authorization",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Autodesk Authorize User",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://developer.api.autodesk.com/authentication/v2/authorize",
            "params": [
              {
                "name": "response_type",
                "value": "",
                "type": "query",
                "description": "Must be set to `code` for authorization code flow."
              },
              {
                "name": "client_id",
                "value": "",
                "type": "query",
                "description": "The Client ID of your APS application."
              },
              {
                "name": "redirect_uri",
                "value": "",
                "type": "query",
                "description": "The URI that Autodesk redirects the user to after granting consent. Must match a redirect URI registered with the application."
              },
              {
                "name": "scope",
                "value": "",
                "type": "query",
                "description": "Space-separated list of scopes requested. Common scopes include data:read, data:write, data:create, account:read, account:write."
              },
              {
                "name": "state",
                "value": "",
                "type": "query",
                "description": "An opaque value that the application uses to maintain state between the request and callback. Used to prevent CSRF attacks."
              },
              {
                "name": "nonce",
                "value": "",
                "type": "query",
                "description": "A random string used to associate a client session with an ID token."
              },
              {
                "name": "prompt",
                "value": "",
                "type": "query",
                "description": "Controls the authentication experience presented to the user."
              }
            ]
          },
          "docs": "Redirects the user to the Autodesk login page where they grant your application access to their data. This is the first step of the three-legged OAuth flow. After the user grants consent, Autodesk redirects them back to the redirect URI with an authorization code."
        },
        {
          "info": {
            "name": "Autodesk Logout",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://developer.api.autodesk.com/authentication/v2/logout",
            "params": [
              {
                "name": "post_logout_redirect_uri",
                "value": "",
                "type": "query",
                "description": "URI to redirect the user to after logout."
              }
            ]
          },
          "docs": "Ends the user's Autodesk session and optionally redirects the user to a specified URI."
        }
      ]
    }
  ],
  "bundled": true
}