Delete window grouping
Request method and path
html
POST http://localhost:[Port]/openapi/window/group/delete?ticket=[OpenApiTicket]
Interface Function Description
Used to delete created window browser groups.
Request parameter
Tip
- Single deletion passes the index keyword, with a value that uniquely identifies the window group.
- Batch delete an array that passes the indexes keyword with a value that uniquely identifies the window group.
- Choose either 'indexes' or' index '
Parameter Name | Required | Example | type | Explanation |
---|---|---|---|---|
indexes | Y | [1,2,9] | array | Unique identifier array for window grouping. |
index | Y | 9 | number | The unique identifier for window grouping can be obtained in Get Window Grouping. |
Request parameter example
json
{
"index":9
}
json
{
"indexes":[1,2,9]
}
Return data
Successful Response Example
json
{
"code": "00000",
"message": "Success",
"data": {
"status": "success",
"errorCode": "",
"errorMsg": "",
"result": {}
}
}
Example of failed response
Failed to call interface
When the interface response status code is not 00000
, the interface call fails. The specific reasons for interface call errors can be found in the Interface Response Status Code Information Comparison Table for querying.
json
{
"code": "00001",
"message": "Unknown error occurred, please provide feedback to official customer service!",
"data": {}
}
The deletion operation failed this time
json
{
"code": "00000",
"message": "Success",
"data": {
"status": "failed",
"errorCode": "E01",
"errorMsg": "Parameter missing window grouping unique identifier index or indexes",
"result": {}
}
}
Operation failure errorCode error code information comparison table
Error code | Reason for error |
---|---|
E00 | The format of parameter (xxx) is incorrect! |
E01 | Parameter missing window grouping unique identifier index or indexes |
E02 | The unique identifier index value for window grouping is illegal! |
E03 | The index must be a positive integer between 1 and 1000. |