Asset Type Fields

Delete an Asset Type Field

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/assettypefield/{uuid}.json

Path parameters

uuidstring uuid required

UUID of the Asset Type Field

Response

Asset Type Field successfully archived (soft deleted)

errorCodenumber
messagestring

Example response

{
  "message": "OK"
}

Changes

Changed in 1 of the 50 revisions of this API.5

    • added the non-success response with the status 401

      response-non-success-status-added

    • added the non-success response with the status 403

      response-non-success-status-added

    • added the non-success response with the status 404

      response-non-success-status-added

    • added the non-success response with the status 429

      response-non-success-status-added

    • added the non-success response with the status 500

      response-non-success-status-added