Skip to content

Delete Vector API ​

API Information ​

  • Request Path: /analysis/task/deleted/vector
  • Request Method: POST
  • Content-Type: application/json

Request Headers ​

ParameterTypeRequiredDescription
AuthorizationStringYesUser authentication token
Content-TypeStringYesMust be set to application/json

Request Parameters ​

ParameterTypeRequiredDescriptionConstraints
layerStringYesLayer Name
geometryIdsList<Long>Yesgeometry id list

Request Body Example ​

json
{
  "layer": "v2_aiidfzdiazedhzhfghd",
  "geometryIds": [
      84
  ]
}

Response Body Structure ​

CommonResponse Object ​

FieldTypeDescription
codeIntegerResponse status code
messageStringResponse message
dataBboxItemVector Data

BboxItem Object ​

FieldTypeDescription
layerNameStringLayer Name
bboxStringNew BBox

Response Examples ​

Success Response ​

json
{
  "code": 200,
  "message": "OK",
  "data": {
    "layerName": "v2_aiidfzdiazedhzhfghd",
    "bbox": "35.53393,27.541082,35.539154,27.547148"
  }
}

Failure Response ​

json
{
  "code": 404,
  "message": "Vector not found",
  "data": null
}

Error Code Description ​

Error CodeDescription
200Success
400Request parameter error
401Unauthorized
404Vector not found
500Server internal error

Usage Instructions ​

  1. This API is used to delete vector data from analysis tasks
  2. User authentication is required
  3. Task ID and vector ID must be provided
  4. Returns boolean indicating deletion success

Notes ​

  • Task ID and vector ID are required
  • Deletion is permanent and cannot be undone
  • User authentication token must be included in request headers