API —— Delete Spatial Map
This interface is used to permanently delete the specified Spatial Map data via mapId.
1. Interface basic information
- Endpoint:
https://armap-api-<cn1,na1>.easyar.com/map/{mapId} - HTTP Method:
DELETE - Response Format:
*/*(Typicallyapplication/json)
2. Authentication methods
This interface supports the following two authentication modes:
- Token-based authentication:
- Header:
Authorization: [token] - Parameters: Requires
appId.
- Header:
- Signature-based authentication:
- Parameters: Requires
appId,apiKey,timestamp,signature. - For detailed signature calculation algorithm, refer to API Key signature method.
- Parameters: Requires
3. Request parameters
3.1 Path parameters
| Parameter name | Type | Required | Description |
|---|---|---|---|
| mapId | String | Yes | The unique identifier (MapId) of the spatial map. |
4. Response data structure (ARMapDTO)
When the request is successful (statusCode is 0), the result field will contain snapshot information of the deleted map.
| Field name | Type | Description |
|---|---|---|
| mapId | String | Map unique identifier. |
| name | String | Map name. |
| status | String | Current status of the map. |
| size | Integer (int64) | Map file size. |
| meta | String | Custom metadata. |
| previewUrl | String | Preview image download URL. |
| emeUrl | String | EME resource URL. |
| md5 | String | MD5 checksum of the file. |
| created | DateTime | Creation time. |
| modified | DateTime | Last modification time. |
5. Status codes
| HTTP Code | Meaning | Description |
|---|---|---|
| 200 | OK | Request successful, returns the deleted map object. |
| 401 | Unauthorized | Authentication failed, please check Token or signature. |
| 403 | Forbidden | Access to this resource is forbidden. |
Status code error codes
6. Example response (JSON)
{
"statusCode": 0,
"msg": "success",
"timestamp": "2026-01-30T10:00:00Z",
"result": {
"mapId": "string",
"name": "example_map",
"status": "inactive",
"size": 1024
}
}