v50

latestOpenAPI 3.1.0raw.githubusercontent.com2026-03-211931021.7 MB
Locations

Delete a Location

In ServiceM8, deleting a record sets its active field to 0. Inactive records are still accessible on the API, but are hidden in the UI. Inactive records can be restored by setting their active field to 1.

OAuth Scope

This endpoint requires the following OAuth scope manage_locations.

delete/location/{uuid}.json

Path parameters

uuidstring uuid required

UUID of the Location

Response

Location successfully archived (soft deleted)

errorCodenumber
messagestring

Example response

{
  "message": "OK"
}