Method: cases.batchDetachEvidence

Full name: projects.locations.instances.cases.batchDetachEvidence

Batch detaches case evidences from cases. This operation is atomic; either all detachments succeed, or all fail.

HTTP request


POST https://chronicle.africa-south1.rep.googleapis.com/v1alpha/{name}:batchDetachEvidence

Path parameters

Parameters
name

string

Required. The resource name of the Case to batch detach case evidence from. Format: projects/{project}/locations/{location}/instances/{instance}/cases/{case}

Request body

The request body contains data with the following structure:

JSON representation
{
  "requests": [
    {
      object (DetachCaseEvidenceRequest)
    }
  ]
}
Fields
requests[]

object (DetachCaseEvidenceRequest)

Required. The requests to detach case evidence.

Response body

If successful, the response body is an empty JSON object.

Authorization scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/cloud-platform
  • https://www.googleapis.com/auth/chronicle
  • https://www.googleapis.com/auth/chronicle.readonly

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the name resource:

  • chronicle.cases.update

For more information, see the IAM documentation.

DetachCaseEvidenceRequest

Request message for DetachCaseEvidence.

JSON representation
{
  "evidenceId": string,
  "evidenceType": enum (EvidenceType)
}
Fields
evidenceId

string

Required. The evidence id to detach.

evidenceType

enum (EvidenceType)

Required. The type of the evidence to detach.