Remove a customer commitment
DELETE
/v1/customer-commitments/{id}
const url = 'https://api.varman.io/v1/customer-commitments/example';const options = {method: 'DELETE', headers: {'X-API-Key': '<X-API-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://api.varman.io/v1/customer-commitments/example \ --header 'X-API-Key: <X-API-Key>'Deletes one commitment from a customer. Use list-customer-commitments to find the ID. To keep history instead, set the status to waived.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
Header Parameters
Section titled “Header Parameters”X-Organization-Id
string