Delete Multiple Registry Schedules

Use this API to delete multiple registry schedules by specifying the scheduleIds.

DELETE/v1.3/registry/{registryId}/schedule

If you have a large number of schedules to delete or want to delete all schedules matching a particular filter, see Delete Multiple or All Registry Schedules in Bulk.

Input ParametersInput Parameters

Parameter

Mandatory/Optional

Data Type

Description

registryId

Mandatory

string

ID/UUID of the registry you want to delete the schedules for.

scheduleIds

Optional

string

ID/UUIDs of the schedules you want to delete. Should be in the form of an array.

You cannot delete schedules that are in the “Running” state.

SampleSample

API request

    curl -X DELETE 
"<qualys_base_url>/csapi/v1.3/registry/fc129b85-e23c-4236-9fd2-47a257746208/schedule/" 
-d "["9a9468c9-33d7-49aa-8275-a1e92b30c916","8843983c-f0c6-441b-b8ed-4d00acf195b3"]" --header "Authorization: Bearer <token>"
    

Response

    Returns {
    "deletedScheduleUuids": [
        "9a9468c9-33d7-49aa-8275-a1e92b30c916",
        "8843983c-f0c6-441b-b8ed-4d00acf195b3"
    ]
}
response code 200