API Reference
cURL
curl --request DELETE \ --url https://api.flatpeak.com/tariffs/elements/{id} \ --header 'Authorization: Bearer <token>'
{ "message": "Accepted" }
Deletes a tariff. Will also automatically remove the tariff from tariff_elements property of the Location object it is associated with.
tariff_elements
Authenticate with bearer_token you obtained from /login endpoint.
bearer_token
FlatPeak tariff_id.
tariff_id
202 accepted
The response is of type object.
object
Was this page helpful?