Documentation

Objectives

Delete objective

Delete objective and all its key results and achievements (cascade)

ProductionStagingUAT
DELETEhttps://ankiren.com/api/me/okr/objectives/{id}

Parameters

Path Parameters

  • idintegerpathRequired

    Objective ID

Responses

200 · Objective deleted

  • successboolean
application/json
{
  "success": true
}

Sample Code

Đổi ngôn ngữ ở ô Language trên thanh Documentation.

cURL
curl -X DELETE 'https://ankiren.com/api/me/okr/objectives/{id}' \
  -H 'Authorization: Bearer <token>' \
  -H 'Accept: application/json'