All Products
Search
Document Center

SchedulerX:BatchDeleteRouteStrategy

Last Updated:Mar 21, 2023

Deletes multiple routing policies at a time.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
RegionIdstringYes

The ID of the region.

cn-hangzhou
NamespacestringYes

The ID of the namespace. You can obtain the ID of the namespace on the Namespace page in the SchedulerX console.

adcfc35d-e2fe-4fe9-bbaa-20e90ffc****
GroupIdstringYes

The ID of the application. You can obtain the application ID on the Application Management page in the SchedulerX console.

testSchedulerx.defaultGroup
JobIdListarrayNo

The IDs of the jobs.

longNo

The ID of the job. You can obtain the ID of the job on the Task Management page in the SchedulerX console.

99341

Response parameters

ParameterTypeDescriptionExample
object

The schema of the response.

RequestIdstring

The ID of the request.

704A2A61-3681-5568-92F7-2DFCC53F33D1
Codeinteger

The HTTP status code that is returned.

200
Messagestring

The additional information that is returned.

job is not existed, jobId=162837
Successboolean

Indicates whether the request was successful. Valid values:

  • true: The request was successful.
  • false: The request failed.
true

Examples

Sample success responses

JSONformat

{
  "RequestId": "704A2A61-3681-5568-92F7-2DFCC53F33D1",
  "Code": 200,
  "Message": "job is not existed, jobId=162837",
  "Success": true
}

Error codes

For a list of error codes, visit the Service error codes.