Stop or resume syncing a incident
const url = 'https://api.adversarial.com/api/v1/incidents/INC-00001/sync';const options = { method: 'PATCH', headers: {'Content-Type': 'application/json'}, body: '{"paused":true}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PATCH \ --url https://api.adversarial.com/api/v1/incidents/INC-00001/sync \ --header 'Content-Type: application/json' \ --data '{ "paused": true }'A stopped incident stays linked to its source item, so the source item is ignored and never imported again, and no sync changes or closes the incident. Resuming lets the next sync that reads the source item update it.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”The ID of the incident — INC-00001 (case-insensitive) or a bare number
Example
INC-00001Request Bodyrequired
Section titled “Request Bodyrequired”Stop or resume the sync of a register item.
object
true stops every integration from changing the item. false
resumes the sync: the next sync that reads the source item updates
the item from it.
Example generated
{ "paused": true}Responses
Section titled “Responses”The incident’s sync state
How one integration connection syncs a register item.
object
Connection the item syncs from.
Name of the connection.
Provider-side identifier of the source item.
When a user stopped syncing the item. Absent while it syncs. A paused item stays linked to its source item, so the source item never creates another register item, but no sync changes or closes it.
Who stopped syncing the item, while that user exists.
object
Relative path to the user’s avatar endpoint, e.g.
"users/{id}/avatar?v={hash}". None when the user has no avatar.
Display name of the provider, such as “Wiz”.
Example generated
[ { "connection_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "connection_name": "example", "external_id": "example", "paused_at": "2026-04-15T12:00:00Z", "paused_by": { "email": "example", "first_name": "example", "icon": "example", "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "last_name": "example" }, "provider": "example" }]No integration syncs the incident
Incident not found