{ "opencollection": "1.0.0", "info": { "name": "Permit.io Access Requests (EAP) Access Requests (EAP) Scope Configurations API", "version": "2.0.0" }, "items": [ { "info": { "name": "Scope Configurations", "type": "folder" }, "items": [ { "info": { "name": "Get Scope Config", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/v2/projects/:proj_id/:env_id/opal_scope", "params": [ { "name": "proj_id", "value": "my_project", "type": "path", "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")." }, { "name": "env_id", "value": "my_environment", "type": "path", "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Returns the custom OPAL Scope config for given environment, if exists.\nIf not custom config is set, return 404." }, { "info": { "name": "Set Scope Config", "type": "http" }, "http": { "method": "PUT", "url": "{{baseUrl}}/v2/projects/:proj_id/:env_id/opal_scope", "params": [ { "name": "proj_id", "value": "my_project", "type": "path", "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")." }, { "name": "env_id", "value": "my_environment", "type": "path", "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Set or update the custom OPAL Scope config for a given environment." }, { "info": { "name": "Reset Scope Config", "type": "http" }, "http": { "method": "DELETE", "url": "{{baseUrl}}/v2/projects/:proj_id/:env_id/opal_scope", "params": [ { "name": "proj_id", "value": "my_project", "type": "path", "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")." }, { "name": "env_id", "value": "my_environment", "type": "path", "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Reset the custom OPAL Scope config for a given environment to the default." } ] } ], "bundled": true }