All Products
Search
Document Center

SchedulerX:DeleteAppGroup

Last Updated:Mar 21, 2023

Deletes an application group.

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 ID of the application on the Application Management page in the SchedulerX console.

testSchedulerx.defaultGroup
DeleteJobsbooleanNo

Specifies whether to delete the jobs in the application group. Valid values:

  • true: deletes the jobs in the application group.
  • false: does not delete the jobs in the application group.
true

Response parameters

ParameterTypeDescriptionExample
object

The schema of the response.

RequestIdstring

The ID of the request.

4F68ABED-AC31-4412-9297-D9A8F0401108
Codeinteger

The HTTP status code that is returned.

200
Messagestring

The additional information that is returned.

app is not existed, groupId=xxxx, namesapce=xxxx
Successboolean

Indices whether the request was successful. Valid values:

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

Examples

Sample success responses

JSONformat

{
  "RequestId": "4F68ABED-AC31-4412-9297-D9A8F0401108",
  "Code": 200,
  "Message": "app is not existed, groupId=xxxx, namesapce=xxxx",
  "Success": true
}

Error codes

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