Skip to content

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

  1. Single deletion passes the index keyword, with a value that uniquely identifies the window group.
  2. Batch delete an array that passes the indexes keyword with a value that uniquely identifies the window group.
  3. Choose either 'indexes' or' index '
Parameter NameRequiredExampletypeExplanation
indexesY[1,2,9]arrayUnique identifier array for window grouping.
indexY9numberThe 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 codeReason for error
E00The format of parameter (xxx) is incorrect!
E01Parameter missing window grouping unique identifier index or indexes
E02The unique identifier index value for window grouping is illegal!
E03The index must be a positive integer between 1 and 1000.