Method: attachments.delete

Full name: projects.locations.instances.legacySoarUsers.attachments.delete

Deletes an Attachment. Use this method to permanently remove a file from the system. Users can only delete attachments they have uploaded.

HTTP request


DELETE https://chronicle.africa-south1.rep.googleapis.com/v1beta/{name}

Path parameters

Parameters
name

string

Required. The resource name of the Attachment to delete. Format: projects/{project}/locations/{location}/instances/{instance}/legacySoarUsers/{legacySoarUser}/attachments/{attachment}

Request body

The request body must be empty.

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.attachments.delete

For more information, see the IAM documentation.