{ "opencollection": "1.0.0", "info": { "name": "Microsoft Active Directory (via Microsoft Graph) Applications Service Principals API", "version": "1.0" }, "request": { "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://login.microsoftonline.com/common/oauth2/v2.0/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "Service Principals", "type": "folder" }, "items": [ { "info": { "name": "List service principals", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/servicePrincipals" }, "docs": "List service principals" }, { "info": { "name": "Create a service principal", "type": "http" }, "http": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/servicePrincipals" }, "docs": "Create a service principal" }, { "info": { "name": "Get a service principal", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/servicePrincipals/:id", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Get a service principal" } ] } ], "bundled": true }