Delete a Job Payment
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_job_payments.
Path parameters
UUID of the Job Payment
Response
Job Payment successfully archived (soft deleted)
Example response
{
"message": "OK"
}Changes
Changed in 2 of the 50 revisions of this API.6
- ○
added the non-success response with the status
401response-non-success-status-added
- ○
added the non-success response with the status
403response-non-success-status-added
- ○
added the non-success response with the status
404response-non-success-status-added
- ○
added the non-success response with the status
429response-non-success-status-added
- ○
added the non-success response with the status
500response-non-success-status-added
- ○
- ○
the security scope
manage_job_paymentswas added to the endpoint's security schemeoauth2api-security-scope-added
- ○