cURL
curl --request DELETE \ --url https://api.leen.dev/v1/provisioning/organizations/{organization_id}/connections/{connection_id} \ --header 'X-API-KEY: <api-key>'
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "vendor": "<string>", "is_active": true, "refresh_interval_secs": 123, "timeout_secs": 123, "organization_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "state": "PENDING", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "health": { "name": "HEALTHY", "status": "HEALTHY", "description": "<string>", "resolution_owner": "LEEN", "details": [ { "endpoint": "<string>", "data_export_type": "alerts" } ] }, "oauth2_authorize_url": "<string>", "identifier": "<string>" }
Delete a connection by its ID and Organization ID (Leen’s UUID).
Successful Response
PENDING
ACTIVE
PAUSED
DELETED
Show child attributes
HEALTHY
INITIALIZING
UNAUTHORIZED
CONNECTION_RECONFIGURATION_REQUIRED
VENDOR_CLIENT_ERROR
VENDOR_SERVER_ERROR
EXECUTION_TIMEOUT
RATE_LIMIT_EXCEEDED
INTERNAL_ERROR
UNHEALTHY
LEEN
CUSTOMER
VENDOR
alerts
compliances
compliance_findings
config_users
cspm_alerts
device_groups
device_policies
devices
idp
idp_alerts
idp_audit_logs
idp_policies
issues
organization_identities
sast_issues
sca_issues
vms_scan_configs
vulnerabilities
resources
vulnerability_findings_v2
grc_entity
grc_control
grc_evidence
grc_assessment_question
grc_assessment
tprm_company
tprm_finding
findings
itsm_users
itsm_groups
itsm_projects
itsm_tickets
itsm_attachments
itsm_comments