{ "opencollection": "1.0.0", "info": { "name": "Permit.io Access Requests (EAP) Access Requests (EAP) Email Configurations API", "version": "2.0.0" }, "items": [ { "info": { "name": "Email Configurations", "type": "folder" }, "items": [ { "info": { "name": "Get Email Configuration", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/v2/facts/:proj_id/:env_id/email_configurations", "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": "Gets the email configuration defined within an environment." }, { "info": { "name": "Create Or Update Email Configuration", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/v2/facts/:proj_id/:env_id/email_configurations", "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": "Create new configuration or updates the email configuration" }, { "info": { "name": "Send Test Email", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/v2/facts/:proj_id/:env_id/email_configurations/send_test_email", "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": "Sends a test email to the email address defined in the user." } ] } ], "bundled": true }