Skip to main content

Delete a map by ID

DELETE 

/maps/:mapId

This request is used to delete a map from the ANSCER ROBOT system. Only an admin user is authorized to delete a map. The {mapId} parameter in the endpoint URL specifies the ID of the map that is to be deleted.

Warning: This operation will permanently delete the map and all associated resources such as waypoints, zones, and missions. Use with caution.

Request​

Path Parameters

    mapId stringrequired

    The ID of the map to retrieve, update or delete

Responses​

Map deleted

Schema
    _id uuid
    name string

    Possible values: >= 3 characters and <= 50 characters

    isActive boolean
    properties object
    origin object
    position objectrequired
    x doublerequired
    y doublerequired
    z doublerequired
    orientation objectrequired
    x doublerequired
    y doublerequired
    z doublerequired
    w doublerequired
    width double
    height double
    resolution double
    previewUrl uri
    createdBy object

    The user who created this map

    _id string
    name string
    email email
    updatedBy object

    The user who last updated this map

    _id string
    name string
    email email
    createdAt date-time

    The date and time this user was created

    updatedAt date-time

    The date and time this user was last updated

Loading...