Skip to content

Kpis API: Delete kpi annotation

Endpoint#

PropertyValue
Typemutation
MethodPOST
Path/api/external/v1/kpis/delete_kpi_annotation
HandlerOperatelyWeb.Api.Kpis.DeleteKpiAnnotation

Authentication#

  • Requires a valid API token.
  • Requires a write-enabled token.
  • Read-only tokens return 403.

Inputs#

FieldTypeRequiredNullableDefault
annotation_idid primitive (encoded as string)YesNo-

Outputs#

FieldTypeRequiredNullable
annotationkpi_annotation objectYesNo

cURL Example#

Copied
curl --request POST \
  --url "https://app.operately.com/api/external/v1/kpis/delete_kpi_annotation" \
  --header "Authorization: Bearer ${OPERATELY_API_TOKEN}" \
  --header "Content-Type: application/json" \
  --data '{"annotation_id":"value"}'

Response Example#

{
  "annotation": {
    "__typename": "value",
    "created_by": "<person>",
    "date": "2026-01-01",
    "id": "value",
    "inserted_at": "2026-01-01T09:30:00Z",
    "title": "value",
    "updated_at": "2026-01-01T09:30:00Z"
  }
}