Projects API: Update milestone due date
Endpoint#
Section titled “Endpoint#”| Property | Value |
|---|---|
| Type | mutation |
| Method | POST |
| Path | /api/external/v1/projects/update_milestone_due_date |
| Handler | OperatelyWeb.Api.Projects.Milestones.UpdateDueDate |
Authentication#
Section titled “Authentication#”- Requires a valid API token.
- Requires a write-enabled token.
- Read-only tokens return
403.
| Field | Type | Required | Nullable | Default |
|---|---|---|---|---|
milestone_id | id primitive (encoded as string) | Yes | No | - |
due_date | contextual_date object | Yes | Yes | - |
Outputs#
Section titled “Outputs#”| Field | Type | Required | Nullable |
|---|---|---|---|
milestone | milestone object | Yes | No |
cURL Example#
Section titled “cURL Example#”Copied
curl --request POST \
--url "https://app.operately.com/api/external/v1/projects/update_milestone_due_date" \
--header "Authorization: Bearer ${OPERATELY_API_TOKEN}" \
--header "Content-Type: application/json" \
--data '{"due_date":{"__typename":"value", "date":"2026-01-01", "date_type":"day", "value":"value"}, "milestone_id":"value"}'Response Example#
Section titled “Response Example#”{ "milestone": { "__typename": "value", "available_statuses": [ "<task_status>" ], "comments": [ "<milestone_comment>" ], "comments_count": 123, "completed_at": "2026-01-01", "creator": "<person>", "description": "value", "id": "value", "inserted_at": "2026-01-01", "permissions": "<project_permissions>", "project": "<project>", "space": "<space>", "status": "pending", "subscription_list": "<subscription_list>", "tasks_kanban_state": "value", "tasks_ordering_state": [ "value" ], "timeframe": "<timeframe>", "title": "value", "url": "value" }}