{ "opencollection": "1.0.0", "info": { "name": "elastic.io Platform REST Agents Credentials API", "version": "2.0.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Credentials", "type": "folder" }, "items": [ { "info": { "name": "Elastic.io List credentials", "type": "http" }, "http": { "method": "GET", "url": "https://api.elastic.io/v2/credentials", "params": [ { "name": "page[size]", "value": "", "type": "query", "description": "Number of items per page" }, { "name": "page[number]", "value": "", "type": "query", "description": "Page number to retrieve" }, { "name": "filter[workspace_id]", "value": "", "type": "query", "description": "Filter by workspace ID" } ] }, "docs": "Retrieve a list of credentials for the current workspace." }, { "info": { "name": "Elastic.io Create a credential", "type": "http" }, "http": { "method": "POST", "url": "https://api.elastic.io/v2/credentials", "body": { "type": "json", "data": "{}" } }, "docs": "Create a new credential for authenticating with external services." }, { "info": { "name": "Elastic.io Get a credential", "type": "http" }, "http": { "method": "GET", "url": "https://api.elastic.io/v2/credentials/:credential_id", "params": [ { "name": "credential_id", "value": "", "type": "path", "description": "The unique identifier of the credential" } ] }, "docs": "Retrieve details of a specific credential." }, { "info": { "name": "Elastic.io Update a credential", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.elastic.io/v2/credentials/:credential_id", "params": [ { "name": "credential_id", "value": "", "type": "path", "description": "The unique identifier of the credential" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update an existing credential." }, { "info": { "name": "Elastic.io Delete a credential", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.elastic.io/v2/credentials/:credential_id", "params": [ { "name": "credential_id", "value": "", "type": "path", "description": "The unique identifier of the credential" } ] }, "docs": "Delete a credential." } ] } ], "bundled": true }