> ## Documentation Index > Fetch the complete documentation index at: https://docs.britive.com/llms.txt > Use this file to discover all available pages before exploring further. # Remove an integration's stored API credentials > Clears the integration's apiCredentials, returning it to webhook-only. Findings already stored and the webhook are unaffected, and lastOnDemandSync is kept as a record of the most recent sync; further syncs need new apiCredentials (via the update endpoint). Succeeds (no-op) if no credentials are stored. Rejected while the integration's sync is running. ## OpenAPI ````json DELETE /api/cspm/integrations/{name}/api-credentials { "openapi": "3.0.1", "info": { "title": "Britive Services API Documentation", "version": "v1", "description": "API documentation for Users, Tags, Identity providers, Applications, Reporting, Audit logs, Tenants, SSO, Profiles, Password policies, MFA, Access Builder Settings, etc." }, "servers": [ { "url": "https://{tenantURL}", "description": "The primary server", "variables": { "tenantURL": { "default": "test.britive-app.com", "description": "The host of the server" } } } ], "security": [ { "bearerAuth": [] } ], "tags": [ { "name": "Access Request Tag Membership", "description": "Manage tag memberships granted via access requests" }, { "name": "API Tokens", "description": "Manage API Tokens" }, { "name": "Application Environments", "description": "Manage Application Environments" }, { "name": "Application Environments - Accounts", "description": "Manage Application Environments Accounts" }, { "name": "Application Profiles", "description": "Manage Application Profiles" }, { "name": "Application Profiles - Advanced Settings", "description": "Manage Application Profiles Advanced Settings" }, { "name": "Application Profiles - Permissions", "description": "Manage Application Profiles Permissions" }, { "name": "Application Profiles - Permission Constraint Manager", "description": "Manage Profile Permission Constraints for the permissions that support to define constraints." }, { "name": "Application Profiles - Policies", "description": "Manage Application Profiles Policies" }, { "name": "Application Profiles - Scopes", "description": "Manage Application Profiles Scopes" }, { "name": "Application Profiles - Session Attributes", "description": "Manage Application Profiles Session Attributes" }, { "name": "Application Profiles - Sessions", "description": "Manage Application Profiles Sessions" }, { "name": "Application Profiles - Users and Tags", "description": "Manage Application Profiles" }, { "name": "Applications", "description": "Manage Applications" }, { "name": "Applications - Access Builder Settings", "description": "Manage access builder settings for an application" }, { "name": "Applications - Advanced Settings", "description": "Manage Applications Advanced Settings" }, { "name": "Applications - Approvers Groups", "description": "Manage approvers groups for association approvers" }, { "name": "Applications - Association Approvers", "description": "Manage association approvers for an application" }, { "name": "Applications - Managed Permissions", "description": "Manage Britive Permissions" }, { "name": "Applications - Permissions", "description": "Manage Application Permissions" }, { "name": "Applications - Root Environment Groups", "description": "Manage Application Root Environment Groups" }, { "name": "Applications - Scans", "description": "Manage Application Scans" }, { "name": "Audit Log Webhooks", "description": "Manage Audit Log Webhooks" }, { "name": "Audit Logs v2", "description": "Manage Audit Logs v2" }, { "name": "CSPM Integration", "description": "Manage Cloud Security Posture Management (CSPM) tool integrations and their tokens" }, { "name": "CSPM Integration - Findings", "description": "Discover and fetch CSPM finding data, cross-referenced against Britive applications and profiles" }, { "name": "Custom App Template Uploader", "description": "Uploads custom app template." }, { "name": "Custom App Manager", "description": "Creates an app using custom template and other operations for managing the template." }, { "name": "Global Landing Page", "description": "Manage global landing page" }, { "name": "Global Session Settings", "description": "Manage tenant-wide session and token lifetimes" }, { "name": "Identity Providers", "description": "Manage identity providers and settings" }, { "name": "IP Restrictions", "description": "Manage firewall rules/settings" }, { "name": "ITSM Connection Metadata", "description": "Manage ITSM Connection Metadata" }, { "name": "ITSM Connections", "description": "Manage ITSM Connections" }, { "name": "ITSM Integration", "description": "Manage ITSM Connections" }, { "name": "IM Connection Metadata", "description": "Manage IM Connection Metadata" }, { "name": "IM Connections", "description": "Manage IM Connections" }, { "name": "IM Integration", "description": "Manage IM Connections" }, { "name": "MCP Access Manager", "description": "Access MCP servers and check out credentials for their tools" }, { "name": "MCP Audit", "description": "Submit MCP gateway audit events" }, { "name": "MCP Server Tools", "description": "Manage the tools exposed by an MCP Server" }, { "name": "MCP Servers", "description": "Manage MCP Servers" }, { "name": "MCP Servers - Policies", "description": "Manage MCP Server Policies" }, { "name": "Multi Factor Authentication", "description": "Manage MFA authentication settings" }, { "name": "My Access", "description": "Manage My Access" }, { "name": "My Devices", "description": "Manage My Devices" }, { "name": "My Resources", "description": "Manage My Resources" }, { "name": "My Resources - Integration", "description": "Manage My Resource Integration" }, { "name": "My Resources - Profiles", "description": "Manage My Resource Profiles" }, { "name": "Notifications", "description": "Manage notifications" }, { "name": "Profile Requests - Managed Permissions", "description": "Manage Profile Requests Britive Permissions" }, { "name": "Reports", "description": "Manage Reports" }, { "name": "Resource Manager", "description": "Manage Resources" }, { "name": "Resource Manager - Broker Pool Management", "description": "Manage remote broker pools, their tokens, labels, and brokers" }, { "name": "Resource Manager - Labels", "description": "Manage Resource Labels" }, { "name": "Resource Manager - Permissions", "description": "Manage Resource Permissions" }, { "name": "Resource Manager - Policies", "description": "Manage Resource Policies" }, { "name": "Resource Manager - Response Templates", "description": "Manage Resource Response Templates" }, { "name": "Resource Manager - Rotation Templates", "description": "Manage rotation templates for resource types" }, { "name": "Resource Manager - Types", "description": "Manage Resource Types" }, { "name": "Resource Manager - Verification Templates", "description": "Manage verification templates for resource types" }, { "name": "Resource Profiles", "description": "Manage Resource Profiles" }, { "name": "Resource Profiles - Advanced Settings", "description": "Manage Resource Profiles Advanced Settings" }, { "name": "Resource Profiles - Associations", "description": "Manage Resource Profiles Associations" }, { "name": "Resource Profiles - Permissions", "description": "Manage Resource Profiles Permissions" }, { "name": "Resource Profiles - Policies", "description": "Manage Resource Profiles Policies" }, { "name": "SAML Configuration", "description": "Manage SAML Configuration" }, { "name": "Step Up Authentication", "description": "Manage service identity association to identity provider" }, { "name": "System Announcements", "description": "Manage the system announcements" }, { "name": "Tag Access Request Settings", "description": "Manage access request settings for a user tag" }, { "name": "Tag Access Requests", "description": "Browse tags available for access request" }, { "name": "Tag Access Requests - Profile Details", "description": "Read application and profile details for profiles reachable through a requestable tag" }, { "name": "Task Scheduler", "description": "Manage Tasks" }, { "name": "Temporary Tokens", "description": "Issue short-lived tokens carrying the caller's own permissions" }, { "name": "User Identity Attributes", "description": "Manage User Identity Attributes" }, { "name": "User Resources", "description": "Manage User Built Resources" }, { "name": "User Tags", "description": "Manage User Tags" }, { "name": "Users, Service Identities and AI Identities", "description": "Manage Users, Service Identities and AI Identities" }, { "name": "Workload Identity Providers", "description": "Manage workload identity providers" }, { "name": "Workload SCIM Identity Providers", "description": "Manage service identity association to SCIM provisioning for identity provider" }, { "name": "Workload Service Identity Providers", "description": "Manage service identity association to identity provider" }, { "name": "User Tag Owner", "description": "Tag Owners manage the tag memberships of their owned tags" }, { "name": "Shared Signals - Catalog", "description": "Manage shared signals catalog data" }, { "name": "Shared Signals - Issuers", "description": "Manage shared signals issuers" }, { "name": "Shared Signals - Receivers", "description": "Manage shared signals receivers" }, { "name": "Shared Signals - Results", "description": "Query shared signals processing results" }, { "name": "ThemesManager", "description": "Manage tenant custom theme configurations (public read, admin write)" }, { "name": "BrandingManager", "description": "Manage tenant branding assets — logos, favicon, right-panel image, brand text (saved/applied lifecycle)" } ], "paths": { "/api/cspm/integrations/{name}/api-credentials": { "parameters": [ { "in": "path", "name": "name", "required": true, "schema": { "type": "string" }, "description": "Preferably the integration's generated id (\"cspm-\", returned as id on every integration response); its unique, tenant-wide name also works. The id takes precedence: the value is first looked up as an id (a direct read), and only if no integration has that id is it matched as a name. Use the id when the name contains characters that can't be sent in a URL path, such as /.\n" } ], "delete": { "tags": [ "CSPM Integration" ], "summary": "Remove an integration's stored API credentials", "description": "Clears the integration's apiCredentials, returning it to webhook-only. Findings already stored and the webhook are unaffected, and lastOnDemandSync is kept as a record of the most recent sync; further syncs need new apiCredentials (via the update endpoint). Succeeds (no-op) if no credentials are stored. Rejected while the integration's sync is running.\n", "operationId": "deleteCspmApiCredentials", "responses": { "200": { "description": "Credentials removed; the integration's updated details", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CspmAppDetails" } } } }, "400": { "description": "The integration's sync is running, it's being deleted, or another request changed it meanwhile (reload it and retry); nothing was changed\n" }, "404": { "description": "No integration found with the given name or id" } } } } }, "components": { "schemas": { "CspmAppDetails": { "type": "object", "description": "Stored details for a single CSPM integration (token not included)", "required": [ "app", "name", "ingestUrl" ], "properties": { "id": { "type": "string", "description": "The integration's generated id (\"cspm-\"). Never changes, even on rename, and is safe in a URL path, so clients should address the integration by it -- every /api/cspm/integrations/{name} endpoint and the findings integration parameter accept it, and look a value up as an id before trying it as a name.\n" }, "app": { "type": "string", "description": "CSPM application type" }, "name": { "type": "string", "description": "Unique, tenant-wide name given to this integration at creation" }, "description": { "type": "string", "description": "Description of this integration" }, "ingestUrl": { "type": "string", "description": "URL to which CSPM events should be sent (/ingest/cspm/)" }, "createdOn": { "type": "string", "description": "Timestamp when the active token was created. Updated on each rotation -- it tracks the token, not the integration record -- so this reflects when the token was last rotated, not necessarily when the integration itself was first created.\n" }, "actionTemplate": { "type": "string", "description": "The app's outbound webhook payload/action template (e.g. Wiz's Mustache-syntax action template), to be pasted as-is into the CSPM tool's own webhook/action configuration so the events it sends match the shape this integration ingests. Identical for every integration of a given app type -- not customized per integration. Absent if the app has no such template (e.g. upwind, whose Custom Webhook sends a fixed payload and needs only ingestUrl plus the token). Also always absent on List all CSPM integrations (the list response) -- it's only included when a single integration is returned (Get/Update CSPM integration details), since repeating an identical value on every list row would be wasted payload.\n" }, "apiCredentials": { "$ref": "#/components/schemas/CspmApiCredentialsInfo" }, "lastOnDemandSync": { "$ref": "#/components/schemas/CspmSyncStatus" }, "findingFilters": { "$ref": "#/components/schemas/CspmFindingFilters" } } }, "CspmApiCredentialsInfo": { "type": "object", "description": "The integration's stored API credentials, without the secret. Absent if none are configured.", "properties": { "clientId": { "type": "string", "description": "API client id" }, "organizationId": { "type": "string", "description": "Organization id (upwind)" }, "apiEndpoint": { "type": "string", "description": "API endpoint (wiz)" }, "region": { "type": "string", "description": "API region (upwind)" } } }, "CspmSyncStatus": { "type": "object", "description": "Outcome of the integration's most recent on-demand findings sync, returned on the integration and on every row of the integrations list. Absent if it has never been synced.\n", "properties": { "status": { "type": "string", "enum": [ "RUNNING", "SUCCEEDED", "FAILED" ], "description": "Sync state. A sync still RUNNING after 2 hours was abandoned (the service running it stopped) and is reported as FAILED.\n" }, "startedAt": { "type": "string", "description": "When the sync started (ISO-8601)" }, "finishedAt": { "type": "string", "description": "When the sync finished (ISO-8601); absent while RUNNING, and for an abandoned sync, since when it stopped isn't known\n" }, "resourceFindingsCount": { "type": "integer", "format": "int64", "description": "Number of distinct resources (roles) with findings that the sync found within the integration's finding filters -- each resource counted once, however many findings it has. Set when SUCCEEDED; absent while RUNNING (a new sync clears the previous run's count) and when FAILED.\n" }, "error": { "type": "string", "description": "Why the sync failed; set when FAILED. For example, the vendor rejecting the API credentials, the vendor still rate limiting requests (HTTP 429) after retries, a sync stopped by a service restart, a sync that was abandoned, or one the service was too busy to start. Errors that don't come from the CSPM tool's API (e.g. database errors) are shown as a generic message; their details are only logged.\n" } } }, "CspmFindingFilters": { "type": "object", "description": "Limits which findings an integration keeps, for both webhook events and API syncs, by cloud provider (or Snowflake, for Wiz) and -- per provider -- by account. Optional: leave unset (or send an empty cloudProviders list) to keep every finding. Once any provider is listed, findings from clouds that aren't listed are dropped. For each listed provider, accountIds is optional: absent or empty keeps all of that provider's accounts. Findings outside the filters are dropped when they arrive; setting or changing the filters never deletes findings already stored. Note that filtering hides unmanaged roles in the excluded clouds/accounts from the report.\nOn update, the object replaces the stored filters as a whole -- send an empty cloudProviders list to remove them, or omit findingFilters to leave them unchanged.\n", "properties": { "cloudProviders": { "type": "array", "maxItems": 5, "description": "The clouds (and, for Wiz, Snowflake) to keep findings from, each with an optional list of accounts. Each provider may appear only once.\n", "items": { "$ref": "#/components/schemas/CspmCloudProviderFilter" } } } }, "CspmCloudProviderFilter": { "type": "object", "description": "One cloud provider to keep findings from, optionally limited to some of its accounts.", "required": [ "provider" ], "properties": { "provider": { "type": "string", "enum": [ "AWS", "AZURE", "GCP", "ORACLE", "SNOWFLAKE" ], "description": "The cloud provider. The CSPM tool's own provider names (e.g. \"aws\", \"Azure\", \"OCI\", \"Snowflake\") are matched to these values. SNOWFLAKE applies to Wiz only; Upwind doesn't scan Snowflake.\n" }, "accountIds": { "type": "array", "maxItems": 1000, "description": "Keep only this provider's findings in these accounts -- AWS account numbers, Azure subscription ids, GCP project ids, Oracle tenancy/compartment OCIDs, or Snowflake accounts, as the CSPM tool reports them. Matched case-insensitively. Absent or empty keeps all of the provider's accounts. Findings with no account (e.g. tenant- or organization-level roles such as Entra directory roles or GCP organization roles) are always kept.\n", "items": { "type": "string" } } } } }, "securitySchemes": { "bearerAuth": { "type": "http", "scheme": "bearer" } } } } ````