Agent Insights Jobs

Update Agent Insights job

Partially updates the Agent Insights job for a project (e.g. status; never deletes). Returns the updated job, or 404 if none exists.

patch/v1/private/agent-insights/jobs/{projectId}

Path parameters

projectIdstring uuid required

Request body

status'enabled' | 'disabled' required

New status for the job

Response

Job updated

idstring uuid
project_idstring uuid required
status'enabled' | 'disabled'
auto_first_run_enrolledboolean
auto_first_run_atstring date-time
last_scan_atstring date-time
last_failure_reasonstring
last_failure_detailstring
last_failed_atstring date-time
created_atstring date-time
created_bystring
last_updated_atstring date-time
last_updated_bystring

Changes

Changed in 5 of the 67 revisions of this API.17

    • ○

      added the optional property to the response with the status

      response-optional-property-added

    • ○

      added the optional property to the response with the status

      response-optional-property-added

    • ○

      added the optional property to the response with the status

      response-optional-property-added

    • ○

      added the optional property to the response with the status

      response-optional-property-added

    • ○

      added the optional property to the response with the status

      response-optional-property-added

    • ○

      added the optional property to the response with the status

      response-optional-property-added

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • ○

      endpoint added

      endpoint-added

    • ▲

      api path removed without deprecation

      api-path-removed-without-deprecation

    This revision also has 40 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog