Skip to main content

Delete a waypoint by ID

DELETE 

/waypoints/:waypointId

The Delete Waypoint request allows you to remove a waypoint from the Map. This request takes in the waypoint's unique ID as a parameter, and will permanently delete the waypoint.

However, it's important to exercise caution when using this request, as it will permanently delete the waypoint, the Missions in which this Waypoint was used will be disabled. User can't be able to Initiate that particular Mission. Needs to update the Mission Tasks, in which this waypoint was used.

Request

Path Parameters

    waypointId stringrequired

    The ID of the waypoint to retrieve, update or delete

Responses

Waypoint deleted

Schema
    _id uuid
    name string

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

    category waypointTypes

    Possible values: [normal, special, charging, home]

    dockMarker number
    coordinate object
    position objectrequired
    x doublerequired
    y doublerequired
    z doublerequired
    orientation objectrequired
    x doublerequired
    y doublerequired
    z doublerequired
    w doublerequired
    map object
    _id uuid
    name string

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

    properties object
    createdBy object

    The user who created this waypoint

    _id string
    name string
    email email
    updatedBy object

    The user who last updated this waypoint

    _id string
    name string
    email email
    createdAt date-time

    The date and time this waypoint was created

    updatedAt date-time

    The date and time this waypoint was last updated

Loading...