{ "opencollection": "1.0.0", "info": { "name": "Permit.io Access Requests (EAP) Access Requests (EAP) Projects API", "version": "2.0.0" }, "items": [ { "info": { "name": "Projects", "type": "folder" }, "items": [ { "info": { "name": "List Projects", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/v2/projects", "params": [ { "name": "page", "value": "", "type": "query", "description": "Page number of the results to fetch, starting at 1." }, { "name": "per_page", "value": "", "type": "query", "description": "The number of results per page (max 100)." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Lists all the projects under the active organization." }, { "info": { "name": "Create Project", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/v2/projects", "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Creates a new project under the active organization." }, { "info": { "name": "Get Project", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/v2/projects/:proj_id", "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\")." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Gets a single project matching the given proj_id, if such project exists." }, { "info": { "name": "Update Project", "type": "http" }, "http": { "method": "PATCH", "url": "{{baseUrl}}/v2/projects/:proj_id", "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\")." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Updates the project." }, { "info": { "name": "Delete Project", "type": "http" }, "http": { "method": "DELETE", "url": "{{baseUrl}}/v2/projects/:proj_id", "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\")." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Deletes the project and all its related data." } ] } ], "bundled": true }