- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- Try it!
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 |
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 ( |
| Fields | |
|---|---|
environment |
Required. Environment is the environment in which the cases will be generated. |
customCases[] |
Required. CustomCases is a list of custom case names to be generated. |
kinds[] |
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.