- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- DetachCaseEvidenceRequest
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 |
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 ( |
| Fields | |
|---|---|
requests[] |
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-platformhttps://www.googleapis.com/auth/chroniclehttps://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 ( |
| Fields | |
|---|---|
evidenceId |
Required. The evidence id to detach. |
evidenceType |
Required. The type of the evidence to detach. |