API · v1 · stable
CODEMETA OSDeveloper Center
FR
Ouvrir la console

DELETE /v1/work-planning/entries/{id}

DELETE/v1/work-planning/entries/{id}

Soft-delete a work schedule entry. Own non-approved entries require work_schedule_edit_own; foreign entries require work_schedule_edit.

Paramètres de chemin

NomTypeDescription
idobligatoirestring

Exemple

curl -X DELETE https://api.codemeta-os.de/v1/work-planning/entries/{id} \
  -H "X-Tenant-Id: $TENANT" \
  -b cookies.txt
const result = await cm.work-planning.delete();

Codes de réponse

HTTP Signification
200 Default Response

Recherche