Update a check
URL
POST https://api.complycube.com/v1/checks/:id
Updates the specified check by setting the values of the parameters passed. You can only update checks of type standard_screening_check and extensive_screening_check. The update allows you to enable or disable continuous monitoring.
Headers
Name
Type
Description
Content-Type*
string
The content-type must always be set to application/json.
Authorization*
string
The API live or test key.
Path parameters
Name
Type
Description
id*
string
The ID of the check.
Body
Name
Type
Description
enableMonitoring
boolean
Determines whether continuous monitoring is enabled.
Example request
curl -X POST https://api.complycube.com/v1/checks/{:checkId} \
-H 'Authorization: <YOUR_API_KEY>' \
-H 'Content-Type: application/json' \
-d '{
"enableMonitoring": true
}'const { ComplyCube } = require("@complycube/api");
const complycube = new ComplyCube({ apiKey: "<YOUR_API_KEY>" });
const client = await complycube.check.update("CHECK_ID", {
enableMonitoring: true
});from complycube import ComplyCubeClient
cc_api = ComplyCubeClient(api_key='<YOUR_API_KEY>')
check = cc_api.checks.update('CHECK_ID', enableMonitoring=True)use ComplyCube\ComplyCubeClient;
$ccapi = new ComplyCubeClient('<YOUR_API_KEY>');
$check = $ccapi->checks()->update('CHECK_ID', ['enableMonitoring' => true]);Example responses
Last updated
Was this helpful?