DELETE | /customers/{customerId}/batchfiledefinitions/{id} | Deletes an existing batch file definition for a given customer. Fails if this user does not have access to this customer or if the batch file definition doesn't exist. |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
CustomerId | path | Guid | Yes | The customer id |
Id | path | int | Yes | The batch file definition id |
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
DELETE /customers/{customerId}/batchfiledefinitions/{id} HTTP/1.1 Host: api.paylock.com Accept: text/csv