{
  "opencollection": "1.0.0",
  "info": {
    "name": "Microsoft Entra ID API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "client_credentials",
      "accessTokenUrl": "https://login.microsoftonline.com/{tenantId}/oauth2/v2.0/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Applications",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Microsoft List applications",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/applications",
            "params": [
              {
                "name": "$select",
                "value": "",
                "type": "query",
                "description": "Properties to include"
              },
              {
                "name": "$filter",
                "value": "",
                "type": "query",
                "description": "OData filter expression"
              },
              {
                "name": "$top",
                "value": "",
                "type": "query",
                "description": "Maximum number of items"
              }
            ]
          },
          "docs": "Get the list of applications in the organization."
        },
        {
          "info": {
            "name": "Microsoft Create an application",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://graph.microsoft.com/v1.0/applications",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new application registration."
        },
        {
          "info": {
            "name": "Microsoft Get an application",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/applications/:applicationId",
            "params": [
              {
                "name": "applicationId",
                "value": "",
                "type": "path",
                "description": "Application object ID"
              },
              {
                "name": "$select",
                "value": "",
                "type": "query",
                "description": "Properties to include"
              }
            ]
          },
          "docs": "Get the properties of an application object."
        },
        {
          "info": {
            "name": "Microsoft Update an application",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://graph.microsoft.com/v1.0/applications/:applicationId",
            "params": [
              {
                "name": "applicationId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update the properties of an application object."
        },
        {
          "info": {
            "name": "Microsoft Delete an application",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://graph.microsoft.com/v1.0/applications/:applicationId",
            "params": [
              {
                "name": "applicationId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete an application registration."
        }
      ]
    },
    {
      "info": {
        "name": "Service Principals",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Microsoft List service principals",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/servicePrincipals",
            "params": [
              {
                "name": "$select",
                "value": "",
                "type": "query",
                "description": "Properties to include"
              },
              {
                "name": "$filter",
                "value": "",
                "type": "query",
                "description": "OData filter expression"
              },
              {
                "name": "$top",
                "value": "",
                "type": "query",
                "description": "Maximum number of items"
              }
            ]
          },
          "docs": "Retrieve a list of service principal objects."
        },
        {
          "info": {
            "name": "Microsoft Create a service principal",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://graph.microsoft.com/v1.0/servicePrincipals",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new service principal."
        }
      ]
    },
    {
      "info": {
        "name": "OAuth2 Permissions",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Microsoft List OAuth2 permission grants",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/oauth2PermissionGrants",
            "params": [
              {
                "name": "$filter",
                "value": "",
                "type": "query",
                "description": "OData filter expression"
              },
              {
                "name": "$top",
                "value": "",
                "type": "query",
                "description": "Maximum number of items"
              }
            ]
          },
          "docs": "Retrieve a list of oAuth2PermissionGrant objects."
        },
        {
          "info": {
            "name": "Microsoft Create a delegated permission grant",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://graph.microsoft.com/v1.0/oauth2PermissionGrants",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a delegated permission grant."
        }
      ]
    }
  ],
  "bundled": true
}