Disconnect checks from a task
POST
/v1/integrations/tasks/{taskId}/checks/disconnect
const url = 'https://api.varman.io/v1/integrations/tasks/example/checks/disconnect';const options = { method: 'POST', headers: {'X-API-Key': '<X-API-Key>', 'Content-Type': 'application/json'}, body: '{"organizationId":"example","connectionId":"conn_abc123","checkId":"aws-s3-bucket-public-access"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.varman.io/v1/integrations/tasks/example/checks/disconnect \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <X-API-Key>' \ --data '{ "organizationId": "example", "connectionId": "conn_abc123", "checkId": "aws-s3-bucket-public-access" }'Disconnect checks from a task in Varman. Connect vendor systems, configure OAuth apps, run compliance checks, sync employees, manage variables, and collect automated evidence.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”taskId
required
string
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
organizationId
Auto-resolved from your API key / session. You can omit this; it is ignored by the server.
string
connectionId
required
ID of the integration connection whose check is being disconnected from / reconnected to this task.
string
Example
conn_abc123checkId
required
ID of the integration check being toggled.
string
Example
aws-s3-bucket-public-access