Begins executing a batch delete jobs operation.
HTTP request
POST https://jobs.googleapis.com/v4/{parent=projects/*/tenants/*}/jobs:batchDelete
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The resource name of the tenant under which the job is created. The format is "projects/{projectId}/tenants/{tenantId}". For example, "projects/foo/tenants/bar". The parent of all of the jobs specified in |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{ "names": [ string ] } |
Fields | |
---|---|
names[] |
The names of the jobs to delete. The format is "projects/{projectId}/tenants/{tenantId}/jobs/{job_id}". For example, "projects/foo/tenants/bar/jobs/baz". A maximum of 200 jobs can be deleted in a batch. |
Response body
If successful, the response body contains an instance of Operation
.
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/jobs
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.