---
updatedAt: 2026-04-23T06:56:56.000Z
agentTools:
  projectIndex: https://developer.druva.com/llms.txt
---

# Cancel the ongoing Curated Snapshot job.

Cancels the ongoing Curated Snapshot job.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "description": "",
    "version": "3.0.0",
    "title": "Cyber Resilience For GovCloud"
  },
  "tags": [
    {
      "name": "Curated Snapshots",
      "description": "List of APIs to get information of and manage the Curated Snapshots for the resources managed in Druva Cloud."
    }
  ],
  "paths": {
    "/curatedsnapshot/v1/jobs/cancel": {
      "put": {
        "tags": [
          "Curated Snapshots"
        ],
        "security": [
          {
            "Bearer": []
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CSJobCancelParams"
              }
            }
          },
          "description": "List of the ongoing jobs you intend to cancel."
        },
        "summary": "Cancel the ongoing Curated Snapshot job.",
        "description": "Cancels the ongoing Curated Snapshot job.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/CSJobCancelResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/CS_HTTP_400"
                }
              }
            }
          },
          "401": {
            "description": "The request either did not include an authentication token, or you have provided an expired authentication token."
          },
          "404": {
            "description": "The requested resource was not found.",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/CS_HTTP_404"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/CS_HTTP_500"
                }
              }
            }
          }
        }
      }
    }
  },
  "servers": [
    {
      "url": "https://govapis.druva.com/realize"
    }
  ],
  "components": {
    "securitySchemes": {
      "Bearer": {
        "type": "apiKey",
        "name": "Authorization",
        "in": "header"
      }
    },
    "schemas": {
      "CSJobCancelResponse": {
        "type": "object",
        "properties": {
          "jobs": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "jobID": {
                  "type": "integer",
                  "example": 1,
                  "description": "Curated Snapshot job ID."
                },
                "isSucessful": {
                  "type": "boolean",
                  "example": true,
                  "description": "Success status of cancelling running Curated Snapshot job."
                },
                "reason": {
                  "type": "string",
                  "example": "Internal Error",
                  "description": "Failure reason to cancel the running Curated Snapshot job."
                }
              }
            }
          }
        }
      },
      "CSJobCancelParams": {
        "type": "object",
        "properties": {
          "jobIDs": {
            "type": "array",
            "items": {
              "type": "integer"
            },
            "example": [
              1
            ]
          }
        }
      },
      "CS_HTTP_400": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "enum": [
              "RWCMaster-1006"
            ]
          },
          "message": {
            "type": "string",
            "enum": [
              "Invalid API Syntax"
            ]
          },
          "data": {
            "type": "object"
          },
          "retryable": {
            "type": "boolean",
            "enum": [
              false,
              true
            ]
          }
        }
      },
      "CS_HTTP_404": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "enum": [
              "RWCMaster-1003"
            ]
          },
          "message": {
            "type": "string",
            "enum": [
              "The requested resource was not found."
            ]
          },
          "data": {
            "type": "object"
          },
          "retryable": {
            "type": "boolean",
            "enum": [
              false,
              true
            ]
          }
        }
      },
      "CS_HTTP_500": {
        "type": "object",
        "description": "The request was not processed due to an internal error in Druva Cloud. Kindly try again after some time.",
        "properties": {
          "code": {
            "type": "string",
            "enum": [
              "RWCMaster-1000"
            ]
          },
          "message": {
            "type": "string",
            "enum": [
              "The request was not processed due to an internal error in Druva Cloud. Kindly try again after some time."
            ]
          },
          "data": {
            "type": "object"
          },
          "retryable": {
            "type": "boolean",
            "enum": [
              false,
              true
            ]
          }
        }
      }
    }
  }
}
```