Method: legacyCases.deleteUseCase

Full name: projects.locations.instances.legacyCases.deleteUseCase

Deletes a given use case.

HTTP request


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

Path parameters

Parameters
name

string

Required. The resource name of the LegacyCase to retrieve. Format: projects/{project}/locations/{location}/instances/{instance}/LegacyCases

Request body

The request body contains data with the following structure:

JSON representation
{
  "environment": string,
  "customCases": [
    string
  ],
  "kinds": [
    enum (DemoDataComponent)
  ]
}
Fields
environment

string

Required. Environment is the environment in which the cases will be generated.

customCases[]

string

Required. CustomCases is a list of custom case names to be generated.

kinds[]

enum (DemoDataComponent)

Required. Kinds is a list of DemoDataComponentEnum values.

Response body

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

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the name resource:

  • chronicle.legacyCases.deleteSimulated

For more information, see the IAM documentation.