跳到主要内容

删除地图元素

删除元素

DELETE /map/api/v1/workspaces/{workspace_id}/elements/{id}

Parameters

NameInTypeRequiredDescription
idpathintegertrue元素id
workspace_idpathstringtrue工作空间id
x-auth-tokenheaderstringtrue访问令牌

Responses

StatusMeaningDescriptionSchema
200OKOKmap.SwagUUIDResp

Example responses

{
"code":0
"data":{
"id":"94c51c50-f111-45e8-ac8c-4f96c93ced44"
},
"message": "success"
}

Schemas

map.SwagUUIDResp

{
"code": 0,
"data": {
"id": "string"
},
"message": "string"
}

Properties

NameTypeRequiredRestrictionsDescription
codeintegertruenone错误码
datamap.UUIDResptruenonenone
messagestringtruenone错误描述

map.UUIDResp

{
"id": "string"
}

Properties

NameTypeRequiredRestrictionsDescription
idstringtruenone元素id