Years
Delete year
Delete year and all its objectives, key results, and achievements (cascade)
ProductionStagingUAT
DELETEhttps://ankiren.com/api/me/okr/{yearId}
Parameters
Path Parameters
- yearIdintegerpathRequired
OKR year ID
Responses
200 · Year 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/{yearId}' \
-H 'Authorization: Bearer <token>' \
-H 'Accept: application/json'