{ "opencollection": "1.0.0", "info": { "name": "Cribl As Code API Credentials API", "version": "1.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "API Credentials", "type": "folder" }, "items": [ { "info": { "name": "List API credentials", "type": "http" }, "http": { "method": "GET", "url": "https://gateway.cribl.cloud/v1/organizations/:organizationId/api-credentials", "params": [ { "name": "organizationId", "value": "", "type": "path", "description": "The Cribl Cloud organization identifier" } ] }, "docs": "Retrieves all API credentials configured for the specified organization. Each credential consists of a client ID and client secret used for OAuth 2.0 client credentials authentication." }, { "info": { "name": "Create an API credential", "type": "http" }, "http": { "method": "POST", "url": "https://gateway.cribl.cloud/v1/organizations/:organizationId/api-credentials", "params": [ { "name": "organizationId", "value": "", "type": "path", "description": "The Cribl Cloud organization identifier" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new API credential for the specified organization. The response includes the client secret which is only shown once and must be stored securely." }, { "info": { "name": "Get an API credential by ID", "type": "http" }, "http": { "method": "GET", "url": "https://gateway.cribl.cloud/v1/organizations/:organizationId/api-credentials/:credentialId", "params": [ { "name": "organizationId", "value": "", "type": "path", "description": "The Cribl Cloud organization identifier" }, { "name": "credentialId", "value": "", "type": "path", "description": "The API credential identifier" } ] }, "docs": "Retrieves the metadata of a specific API credential. The client secret is not included in the response." }, { "info": { "name": "Update an API credential", "type": "http" }, "http": { "method": "PATCH", "url": "https://gateway.cribl.cloud/v1/organizations/:organizationId/api-credentials/:credentialId", "params": [ { "name": "organizationId", "value": "", "type": "path", "description": "The Cribl Cloud organization identifier" }, { "name": "credentialId", "value": "", "type": "path", "description": "The API credential identifier" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates the metadata of an existing API credential such as its description or permissions scope." }, { "info": { "name": "Delete an API credential", "type": "http" }, "http": { "method": "DELETE", "url": "https://gateway.cribl.cloud/v1/organizations/:organizationId/api-credentials/:credentialId", "params": [ { "name": "organizationId", "value": "", "type": "path", "description": "The Cribl Cloud organization identifier" }, { "name": "credentialId", "value": "", "type": "path", "description": "The API credential identifier" } ] }, "docs": "Deletes an API credential by its unique ID. Any applications using this credential will lose API access." } ] } ], "bundled": true }