{ "opencollection": "1.0.0", "info": { "name": "Stytch B2B Authentication Application Secret API", "version": "2.0.0" }, "items": [ { "info": { "name": "Secret", "type": "folder" }, "items": [ { "info": { "name": "Getall", "type": "http" }, "http": { "method": "GET", "url": "https://api.stytch.com/pwa/v3/projects/:project_slug/environments/:environment_slug/secrets", "params": [ { "name": "project_slug", "value": "", "type": "path" }, { "name": "environment_slug", "value": "", "type": "path" } ] }, "docs": "GetAll retrieves all secrets for an environment." }, { "info": { "name": "Create", "type": "http" }, "http": { "method": "POST", "url": "https://api.stytch.com/pwa/v3/projects/:project_slug/environments/:environment_slug/secrets", "params": [ { "name": "project_slug", "value": "", "type": "path" }, { "name": "environment_slug", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create creates a secret for an environment. The response contains the full secret value, which will not be exposed in future Get requests." }, { "info": { "name": "Get", "type": "http" }, "http": { "method": "GET", "url": "https://api.stytch.com/pwa/v3/projects/:project_slug/environments/:environment_slug/secrets/:secret_id", "params": [ { "name": "project_slug", "value": "", "type": "path" }, { "name": "environment_slug", "value": "", "type": "path" }, { "name": "secret_id", "value": "", "type": "path" } ] }, "docs": "Get retrieves a secret for an environment." }, { "info": { "name": "Delete", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.stytch.com/pwa/v3/projects/:project_slug/environments/:environment_slug/secrets/:secret_id", "params": [ { "name": "project_slug", "value": "", "type": "path" }, { "name": "environment_slug", "value": "", "type": "path" }, { "name": "secret_id", "value": "", "type": "path" } ] }, "docs": "Delete deletes a secret for an environment." } ] } ], "bundled": true }