{ "opencollection": "1.0.0", "info": { "name": "Microsoft Entra ID (Microsoft Graph) REST Applications ServicePrincipals API", "version": "v1.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": "ServicePrincipals", "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", "body": { "type": "json", "data": "{}" } }, "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", "description": "The id or userPrincipalName of the directory object" } ] }, "docs": "Get a service principal" }, { "info": { "name": "Delete a service principal", "type": "http" }, "http": { "method": "DELETE", "url": "https://graph.microsoft.com/v1.0/servicePrincipals/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The id or userPrincipalName of the directory object" } ] }, "docs": "Delete a service principal" } ] } ], "bundled": true }