Tracker scans

Update tracker scan schedule

Updates a tracker scan schedule.

PATCH
/organizations/{organizationId}/projects/{projectId}/tracker-scan-schedule
x-api-key<token>

In: header

Path Parameters

organizationIdstring
Formatuuid
projectIdstring
Formatuuid
scheduledScanEnabled?boolean
scanPeriod?string
Value in"quarterly" | "daily" | "weekly" | "monthly"
scheduledHour?integer
Range0 <= value <= 23
scheduledDayOfWeek?integer
Range0 <= value <= 6
scheduledDayOfMonth?integer
Range1 <= value <= 31

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X PATCH "https://api.concord.tech/privacy-v1/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/projects/497f6eca-6276-4993-bfeb-53cbbbba6f08/tracker-scan-schedule" \  -H "Content-Type: application/json" \  -d '{}'
{
  "scheduledScanEnabled": true,
  "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9",
  "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8",
  "scanPeriod": "quarterly",
  "scheduledHour": 23,
  "scheduledDayOfWeek": 6,
  "scheduledDayOfMonth": 1,
  "scanHistory": [
    {
      "date": 0,
      "status": "running",
      "scanType": "scheduled",
      "taskArn": "string",
      "domainsCount": 0,
      "results": {
        "total": 0,
        "new": 0,
        "project": 0,
        "global": 0,
        "categories": {
          "analytics": 0,
          "do_not_sell": 0,
          "functional": 0,
          "global_privacy_control": 0,
          "ignored": 0,
          "limit_pii_use": 0,
          "marketing": 0,
          "strictly_necessary": 0,
          "unclassified": 0
        }
      }
    }
  ]
}
{
  "statusCode": 404,
  "error": "Not Found",
  "message": "string"
}
{
  "statusCode": 404,
  "error": "Not Found",
  "message": "Forbidden"
}
{
  "statusCode": 403,
  "error": "Forbidden",
  "message": "Forbidden"
}
{
  "statusCode": 404,
  "error": "Not Found",
  "message": "Not Found"
}
{
  "statusCode": 422,
  "error": "Unprocessable Entity",
  "message": "string"
}
{
  "statusCode": 500,
  "error": "Internal Server Error",
  "message": "Internal Server Error"
}