Skip to content

Stop or resume syncing a risk

PATCH
/v1/risks/{id}/sync
curl --request PATCH \
--url https://api.adversarial.com/api/v1/risks/RSK-00001/sync \
--header 'Content-Type: application/json' \
--data '{ "paused": true }'

A stopped risk stays linked to its source item, so the source item is ignored and never imported again, and no sync changes or closes the risk. Resuming lets the next sync that reads the source item update it.

id
required
string

The ID of the risk — RSK-00001 (case-insensitive) or a bare number

Example

RSK-00001
Media typeapplication/json

Stop or resume the sync of a register item.

object
paused
required

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.

boolean

Example generated

{
"paused": true
}

The risk’s sync state

Media typeapplication/json
Array<object>

How one integration connection syncs a register item.

object
connection_id
required

Connection the item syncs from.

string format: uuid
connection_name
required

Name of the connection.

string
external_id
required

Provider-side identifier of the source item.

string
paused_at

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.

string | null format: date-time
paused_by
One of:

Who stopped syncing the item, while that user exists.

object
email
required
string
first_name
required
string
icon

Relative path to the user’s avatar endpoint, e.g. "users/{id}/avatar?v={hash}". None when the user has no avatar.

string | null
id
required
string format: uuid
last_name
required
string
provider
required

Display name of the provider, such as “Wiz”.

string

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 risk

Risk not found