{ "opencollection": "1.0.0", "info": { "name": "FlashArray REST Active Directory Authorization API", "version": "2.52" }, "items": [ { "info": { "name": "Authorization", "type": "folder" }, "items": [ { "info": { "name": "Pure Storage Get Access Token", "type": "http" }, "http": { "method": "POST", "url": "/oauth2/1.0/token", "headers": [ { "name": "X-Request-ID", "value": "" } ], "body": { "type": "form-urlencoded", "data": [ { "name": "grant_type", "value": "" }, { "name": "subject_token", "value": "" }, { "name": "subject_token_type", "value": "" } ] } }, "docs": "Exchanges an ID Token for an OAuth 2.0 access token.\n" }, { "info": { "name": "Pure Storage List Available API Versions", "type": "http" }, "http": { "method": "GET", "url": "/api/api_version", "headers": [ { "name": "X-Request-ID", "value": "" } ] }, "docs": "Returns a list of available API versions. No authentication is required to access this endpoint.\n" }, { "info": { "name": "Pure Storage Create a User Session", "type": "http" }, "http": { "method": "POST", "url": "/api/2.52/login", "headers": [ { "name": "api-token", "value": "0f2e2884-9486-c6c2-438c-f50418f2aac3" }, { "name": "X-Request-ID", "value": "" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates a user session and returns a session token, using either the user's API token or\ntheir username and password. `api-token` is passed in a header, with the request\nbody empty. Otherwise `username` and `password` are passed in the request body,\nwithout an `api-token` header.\n\nStoring user passwords client-side is not recommended. The username-password\nauthentication option should only be used as necessary for initial retrieval of\nan API token, which should be securely stored and used for al" }, { "info": { "name": "Pure Storage POST Logout (Placeholder)", "type": "http" }, "http": { "method": "POST", "url": "/api/2.52/logout", "headers": [ { "name": "x-auth-token", "value": "3be3d489-55c6-4643-90ac-a476dbc98812" }, { "name": "X-Request-ID", "value": "" } ] }, "docs": "Invalidate a session token.\n" }, { "info": { "name": "Pure Storage Log in a User", "type": "http" }, "http": { "method": "POST", "url": "/api/login", "headers": [ { "name": "api-token", "value": "0f2e2884-9486-c6c2-438c-f50418f2aac3" }, { "name": "X-Request-ID", "value": "" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Logs in a user and returns a session token, using either the user's API token or their username and password. `api-token` is passed in a header, with the request body empty. Otherwise `username` and `password` are passed in the request body, without an `api-token` header.\nStoring user passwords client-side is not recommended. The username-password authentication option should only be used as necessary for initial retrieval of an API token, which should be securely stored and used for all subsequ" }, { "info": { "name": "Pure Storage POST Logout", "type": "http" }, "http": { "method": "POST", "url": "/api/logout", "headers": [ { "name": "X-Request-ID", "value": "" } ] }, "docs": "Invalidate a REST session token.\n" }, { "info": { "name": "Pure Storage GET Login_banner", "type": "http" }, "http": { "method": "GET", "url": "/api/login-banner", "headers": [ { "name": "X-Request-ID", "value": "" } ] }, "docs": "Get the login banner for the array. No authentication is required to access this endpoint.\n" } ] } ], "bundled": true }