deleteActivity¶
No recent usage observed
No replacement exists in the new API yet. However, no calls to this endpoint were recorded in production access logs (April to June 2026), so it may be retired early, without a replacement. If your integration uses this endpoint, contact Oneserve support as soon as possible so that it stays supported.
Reference¶
/rest/workflow/activity/deleteActivity
DELETE
Deletes an Activity (retains the activity in the database but sets the status to DELETED). Updates any cost records to reflect the deletion of the activity. Removes the link between activity and appointment. If VERSIONING is being used a new job version will be created prior to the activity being deleted.acceptable request representations:
- application/json
{
"activityId" : "1234", "version" : "1"
}Notes
available response representations:
- 200 - application/json
{
"result" : "success or fail",
"result_msg" : "error message"
}See the Workflow API matrix for the full list of endpoints in this category.