{ "opencollection": "1.0.0", "info": { "name": "Dfns Approvals ServiceAccounts API", "version": "1.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "ServiceAccounts", "type": "folder" }, "items": [ { "info": { "name": "List service accounts", "type": "http" }, "http": { "method": "GET", "url": "https://api.dfns.io/auth/service-accounts" }, "docs": "List service accounts" }, { "info": { "name": "Create a service account", "type": "http" }, "http": { "method": "POST", "url": "https://api.dfns.io/auth/service-accounts", "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Creates a machine identity (service account) with an access token used for server-to-server API access. Requires a User Action Signature." }, { "info": { "name": "Get a service account by id", "type": "http" }, "http": { "method": "GET", "url": "https://api.dfns.io/auth/service-accounts/:serviceAccountId", "params": [ { "name": "serviceAccountId", "value": "", "type": "path" } ] }, "docs": "Get a service account by id" }, { "info": { "name": "Update a service account", "type": "http" }, "http": { "method": "PUT", "url": "https://api.dfns.io/auth/service-accounts/:serviceAccountId", "params": [ { "name": "serviceAccountId", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Update a service account" }, { "info": { "name": "Activate a service account", "type": "http" }, "http": { "method": "PUT", "url": "https://api.dfns.io/auth/service-accounts/:serviceAccountId/activate", "params": [ { "name": "serviceAccountId", "value": "", "type": "path" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Activate a service account" }, { "info": { "name": "Deactivate a service account", "type": "http" }, "http": { "method": "PUT", "url": "https://api.dfns.io/auth/service-accounts/:serviceAccountId/deactivate", "params": [ { "name": "serviceAccountId", "value": "", "type": "path" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Deactivate a service account" } ] } ], "bundled": true }