Delete rental agreement document
import requests
url = "https://api.paywise.de/v2/orders/{order_id}/rental-agreement/documents/{id}/"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.paywise.de/v2/orders/{order_id}/rental-agreement/documents/{id}/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.delete("https://api.paywise.de/v2/orders/{order_id}/rental-agreement/documents/{id}/")
.header("Authorization", "Bearer <token>")
.asString();using RestSharp;
var options = new RestClientOptions("https://api.paywise.de/v2/orders/{order_id}/rental-agreement/documents/{id}/");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("Authorization", "Bearer <token>");
var response = await client.DeleteAsync(request);
Console.WriteLine("{0}", response.Content);
curl --request DELETE \
--url https://api.paywise.de/v2/orders/{order_id}/rental-agreement/documents/{id}/ \
--header 'Authorization: Bearer <token>'Rental agreements
Delete rental agreement document
Documents owned by a rental order’s agreement singleton.
DELETE
/
v2
/
orders
/
{order_id}
/
rental-agreement
/
documents
/
{id}
/
Delete rental agreement document
import requests
url = "https://api.paywise.de/v2/orders/{order_id}/rental-agreement/documents/{id}/"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.paywise.de/v2/orders/{order_id}/rental-agreement/documents/{id}/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.delete("https://api.paywise.de/v2/orders/{order_id}/rental-agreement/documents/{id}/")
.header("Authorization", "Bearer <token>")
.asString();using RestSharp;
var options = new RestClientOptions("https://api.paywise.de/v2/orders/{order_id}/rental-agreement/documents/{id}/");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("Authorization", "Bearer <token>");
var response = await client.DeleteAsync(request);
Console.WriteLine("{0}", response.Content);
curl --request DELETE \
--url https://api.paywise.de/v2/orders/{order_id}/rental-agreement/documents/{id}/ \
--header 'Authorization: Bearer <token>'Authorizations
caseBearerAuthpartnerBearerAuth
Company-bound Case Management API key — the standard credential for this API.
Headers
Required when a Partner key calls the Case Management API; rejected for direct Case keys. Contains the entitled paywise company UUID.
Apply the change only while the current ETag matches one of the supplied validators (or *); otherwise the request fails with 412 precondition_failed and nothing is written.
Path Parameters
UUID of the document in this request.
UUID of the parent order in this request.
Response
No response body
