v50

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

Delete an Asset

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

delete/asset/{uuid}.json

Path parameters

uuidstring uuid required

UUID of the Asset

Response

Asset successfully archived (soft deleted)

errorCodenumber
messagestring

Example response

{
  "message": "OK"
}