{ "opencollection": "1.0.0", "info": { "name": "Dashboard Allowlists Sessions API", "version": "1.0.0" }, "items": [ { "info": { "name": "Sessions", "type": "folder" }, "items": [ { "info": { "name": "Revoke a session", "type": "http" }, "http": { "method": "PUT", "url": "https://app.dynamicauth.com/api/v0/sessions/:sessionId/revoke", "params": [ { "name": "sessionId", "value": "", "type": "path", "description": "ID of the session" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Revoke a session" }, { "info": { "name": "Get a session by ID", "type": "http" }, "http": { "method": "GET", "url": "https://app.dynamicauth.com/api/v0/users/:userId/sessions/:sessionId", "params": [ { "name": "userId", "value": "", "type": "path", "description": "UUID of the user" }, { "name": "sessionId", "value": "", "type": "path", "description": "ID of the session" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Get a session by ID" }, { "info": { "name": "Revoke all sessions for an environment", "type": "http" }, "http": { "method": "POST", "url": "https://app.dynamicauth.com/api/v0/environments/:environmentId/users/sessions/revoke", "params": [ { "name": "environmentId", "value": "", "type": "path", "description": "ID of the environment" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Queues the revocation of all user sessions in the specified environment. This is an asynchronous operation - the job runs in the background." } ] } ], "bundled": true }