{ "opencollection": "1.0.0", "info": { "name": "Dashboard Allowlists Tokens API", "version": "1.0.0" }, "items": [ { "info": { "name": "Tokens", "type": "folder" }, "items": [ { "info": { "name": "Get all the tokens for a project environment (does not include the raw token)", "type": "http" }, "http": { "method": "GET", "url": "https://app.dynamicauth.com/api/v0/environments/:environmentId/tokens", "params": [ { "name": "environmentId", "value": "", "type": "path", "description": "ID of the environment" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Get all the tokens for a project environment (does not include the raw token)" }, { "info": { "name": "Create a new API Token", "type": "http" }, "http": { "method": "POST", "url": "https://app.dynamicauth.com/api/v0/environments/:environmentId/tokens", "params": [ { "name": "environmentId", "value": "", "type": "path", "description": "ID of the environment" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Create a new API Token" }, { "info": { "name": "Delete a token by token id", "type": "http" }, "http": { "method": "DELETE", "url": "https://app.dynamicauth.com/api/v0/environments/:environmentId/tokens/:tokenId", "params": [ { "name": "environmentId", "value": "", "type": "path", "description": "ID of the environment" }, { "name": "tokenId", "value": "", "type": "path", "description": "ID of the token" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Delete a token by token id" } ] } ], "bundled": true }