{ "opencollection": "1.0.0", "info": { "name": "Dashboard Allowlists Gates API", "version": "1.0.0" }, "items": [ { "info": { "name": "Gates", "type": "folder" }, "items": [ { "info": { "name": "Get the gates for an environment", "type": "http" }, "http": { "method": "GET", "url": "https://app.dynamicauth.com/api/v0/environments/:environmentId/gates", "params": [ { "name": "environmentId", "value": "", "type": "path", "description": "ID of the environment" } ] }, "docs": "Get the gates for an environment" }, { "info": { "name": "Creates a new gate for the project environment", "type": "http" }, "http": { "method": "POST", "url": "https://app.dynamicauth.com/api/v0/environments/:environmentId/gates", "params": [ { "name": "environmentId", "value": "", "type": "path", "description": "ID of the environment" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new gate for the project environment" }, { "info": { "name": "Gets a gate", "type": "http" }, "http": { "method": "GET", "url": "https://app.dynamicauth.com/api/v0/environments/:environmentId/gates/:gateId", "params": [ { "name": "environmentId", "value": "", "type": "path", "description": "ID of the environment" }, { "name": "gateId", "value": "", "type": "path", "description": "ID of the gate" } ] }, "docs": "Gets a gate" }, { "info": { "name": "Updates a gate", "type": "http" }, "http": { "method": "PUT", "url": "https://app.dynamicauth.com/api/v0/environments/:environmentId/gates/:gateId", "params": [ { "name": "environmentId", "value": "", "type": "path", "description": "ID of the environment" }, { "name": "gateId", "value": "", "type": "path", "description": "ID of the gate" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates a gate" }, { "info": { "name": "Delete a gate", "type": "http" }, "http": { "method": "DELETE", "url": "https://app.dynamicauth.com/api/v0/environments/:environmentId/gates/:gateId", "params": [ { "name": "environmentId", "value": "", "type": "path", "description": "ID of the environment" }, { "name": "gateId", "value": "", "type": "path", "description": "ID of the gate" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Delete a gate" }, { "info": { "name": "Enable the gate for the environment", "type": "http" }, "http": { "method": "PUT", "url": "https://app.dynamicauth.com/api/v0/environments/:environmentId/gates/:gateId/enable", "params": [ { "name": "environmentId", "value": "", "type": "path", "description": "ID of the environment" }, { "name": "gateId", "value": "", "type": "path", "description": "ID of the gate" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Enable the gate for the environment" }, { "info": { "name": "Disable the gate for the environment", "type": "http" }, "http": { "method": "PUT", "url": "https://app.dynamicauth.com/api/v0/environments/:environmentId/gates/:gateId/disable", "params": [ { "name": "environmentId", "value": "", "type": "path", "description": "ID of the environment" }, { "name": "gateId", "value": "", "type": "path", "description": "ID of the gate" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Disable the gate for the environment" } ] } ], "bundled": true }