Delete Rate Plan API
Delete a rate plan by its identifier. A rate plan mapped to a channel is refused with 422 Unprocessable Entity unless force=true is sent. Rate plans derived from it (those with it as parent_rate_plan_id) are deleted with it.
API key for programmatic access, sent in the user-api-key header.
716305c4-561a-4561-a187-7f5b8aeb5920Delete the rate plan even when it is mapped to a channel: the mappings are removed with it and the channel notified. Without it the request fails when channel mappings would be affected. Irreversible: neither the rate plan nor its channel information can be restored.
The request has succeeded.
Success response carrying only a meta message (no resource body).
Authentication credentials are missing or invalid.
The requested resource does not exist.
The request has missing or invalid arguments; details lists the messages per argument.
DELETE /api/v1/rate_plans/{id} HTTP/1.1
Host: app.channex.io
user-api-key: YOUR_API_KEY
Accept: */*
{
"meta": {
"message": "Success"
}
}Last updated