Delete an instalment plan

DELETE https://api.tamio.com/v2/instalments/{uuid}

Deletes an instalment plan by its UUID. The plan must belong to the authenticated user and must not have any active subscriptions associated with it.

Path Parameters

uuid string*

UUID of the instalment plan to delete

Responses

200 Instalment plan deleted successfully

Instalment plan deleted successfully

status integer
400 Bad request. Possible `error_code` values:
401 Missing or invalid API key
/instalments/{uuid}
1const response = await fetch("https://api.tamio.com/v2/instalments/{uuid}", {
2 method: "DELETE",
3 headers: {
4 "Authorization": "Bearer YOUR_API_KEY",
5 "Content-Type": "application/json"
6 },
7 body: JSON.stringify({
8 // ... request body
9 })
10});
11const data = await response.json();
Responses
{
  "status": 200
}