Skip to main content
DELETE
/
v1
/
custom-kpi-datasets
/
{dataset_id}
/
kpis
/
{kpi_id}
Delete Kpi
const options = {method: 'DELETE', headers: {'x-api-key': '<api-key>'}};

fetch('https://api.dcycle.io/v1/custom-kpi-datasets/{dataset_id}/kpis/{kpi_id}', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

x-api-key
string
header
required

Headers

x-organization-id
string
x-api-key
string
x-user-id
string

Path Parameters

kpi_id
string<uuid>
required
dataset_id
string<uuid>
required

Response

Successful Response