{ "opencollection": "1.0.0", "info": { "name": "Hanko Admin Audit Logs Email Management API", "version": "1.2.0" }, "items": [ { "info": { "name": "Email Management", "type": "folder" }, "items": [ { "info": { "name": "Get a list of emails of the current user.", "type": "http" }, "http": { "method": "GET", "url": "https://{tenant_id}.hanko.io/admin/emails" }, "docs": "Get a list of emails of the current user." }, { "info": { "name": "Add a new email address to the current user.", "type": "http" }, "http": { "method": "POST", "url": "https://{tenant_id}.hanko.io/admin/emails", "body": { "type": "json", "data": "{}" } }, "docs": "Add a new email address to the current user." }, { "info": { "name": "Marks the email address as primary email", "type": "http" }, "http": { "method": "POST", "url": "https://{tenant_id}.hanko.io/admin/emails/:id/set_primary", "params": [ { "name": "id", "value": "", "type": "path", "description": "ID of the email address" } ] }, "docs": "Marks the email address as primary email" }, { "info": { "name": "Delete an email address", "type": "http" }, "http": { "method": "DELETE", "url": "https://{tenant_id}.hanko.io/admin/emails/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "ID of the email address" } ] }, "docs": "Delete an email address" } ] } ], "bundled": true }