curl --request DELETE \
--url https://api.projectcor.com/v1/ratecards/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.projectcor.com/v1/ratecards/{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.projectcor.com/v1/ratecards/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const url = 'https://api.projectcor.com/v1/ratecards/{id}';
const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.projectcor.com/v1/ratecards/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "DELETE",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.projectcor.com/v1/ratecards/{id}"
req, _ := http.NewRequest("DELETE", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"id": 50,
"original_name": "Custom Ratecard 1",
"name": "Custom Ratecard 1",
"percent": 20,
"company_id": 2336,
"system": false,
"created_at": "2025-12-15 00:24:41",
"updated_at": "2025-12-15 01:10:05",
"deleted_at": "2025-12-15 01:15:10",
"external_key": "BILLING-RC-001",
"currency_id": 2,
"linked_to_base_price": true
}Delete a Ratecard
Deletes (soft-delete) a ratecard by ID. Returns the deleted ratecard object with deleted_at timestamp set.
curl --request DELETE \
--url https://api.projectcor.com/v1/ratecards/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.projectcor.com/v1/ratecards/{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.projectcor.com/v1/ratecards/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const url = 'https://api.projectcor.com/v1/ratecards/{id}';
const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.projectcor.com/v1/ratecards/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "DELETE",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.projectcor.com/v1/ratecards/{id}"
req, _ := http.NewRequest("DELETE", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"id": 50,
"original_name": "Custom Ratecard 1",
"name": "Custom Ratecard 1",
"percent": 20,
"company_id": 2336,
"system": false,
"created_at": "2025-12-15 00:24:41",
"updated_at": "2025-12-15 01:10:05",
"deleted_at": "2025-12-15 01:15:10",
"external_key": "BILLING-RC-001",
"currency_id": 2,
"linked_to_base_price": true
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Ratecard ID
Response
Ratecard deleted successfully
A ratecard defines pricing configurations for the company
Unique identifier for the ratecard
Display name of the ratecard
Original/system name of the ratecard
Percentage applied by this ratecard
Company ID that owns this ratecard
Whether this is a system-generated ratecard
Associated currency ID. Defaults to the system's base currency if not specified.
Whether the ratecard is calculated based on base price
External key for integration with external systems
Creation timestamp
Last update timestamp
Deletion timestamp (soft delete)
Was this page helpful?

