Superfy Platform API Documentation


Delete Specific Route/Schedule API

Require Authentication

This API is used to delete specific route/schedule for the company based on combination of deviceID and token.

When deleting Route/Schedule, it will also delete all related route/schedule data.


URL

api/routes/delete/:maintenanceScheduleID

Required parameter (in URL)

Required parameter (POST)

Optional parameter

Example JSON Payload

{
	"deviceID": "ABCD-EFGH-IJKL-MNOP",
	"token": "bb602ab13b8090268cd6e3bb9dfa39e2"
}

Possible return HTTP status code

Return message

{
  "status": "success",
  "message": [
    "Route Schedule \"One time Schedule\" and its related data have been deleted."
  ]
}