Deletes the earnings with the specified ID from the pay run.

Request

DELETE https://api.yourpayroll.co.uk/api/v2/business/{businessId}/payrun/{payRunId}/earningslines

Path parameters

Parameter name Value Description Additional
payRunId int32 Required
businessId string Required

Query parameters

Parameter name Value Description Additional
id int64 Required

Response

The following HTTP status codes may be returned, optionally with a response resource.

Status code Description Resource
200 OK

OK