Delete Mitigation Jobs

Use this API to delete the specified mitigation deployment jobs using the job IDs.

DELETEmtg/v1/deploymentjobs

Sample - Delete mitigation deployment jobsSample - Delete mitigation deployment jobs

API Request

curl -X 'DELETE' \
  '<qualys_base_url>/mtg/v1/deploymentjobs' \
  -H 'accept: application/json' \
  -H 'Authorization: Bearer <JWT_Token>' \
  -H 'Content-Type: application/json' \
  -d 

API Body

{   "ids": [     "df122402-076c-4a99-bf2a-f4ed3c2aa25f", "e24416bd-9202-4d14-8839-2a5dbd1784ee"   ] }

API Response

[
  {
    "id": "df122402-076c-4a99-bf2a-f4ed3c2aa25f",
    "name": "MTG-WINDOWS-2",
    "status": "success"
  },
  {
    "id": "e24416bd-9202-4d14-8839-2a5dbd1784ee",
    "name": "MTG_RUN_ONCE111",
    "status": "success"
  }
]