v50

latestOpenAPI 3.1.0raw.githubusercontent.com2026-03-211931021.7 MB
Staff Members

Delete a Staff Member

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_staff.

delete/staff/{uuid}.json

Path parameters

uuidstring uuid required

UUID of the Staff Member

Response

Staff Member successfully archived (soft deleted)

errorCodenumber
messagestring

Example response

{
  "message": "OK"
}