Deletes list of Assets.
HTTP request
POST https://migrationcenter.googleapis.com/v1/{parent=projects/*/locations/*}/assets:batchDelete
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
parent |
Required. Parent value for batch asset delete. |
Request body
The request body contains data with the following structure:
| JSON representation |
|---|
{ "names": [ string ], "allowMissing": boolean } |
| Fields | |
|---|---|
names[] |
Required. The IDs of the assets to delete. A maximum of 1000 assets can be deleted in a batch. Format: projects/{project}/locations/{location}/assets/{name}. |
allow |
Optional. When this value is set to |
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.