Edit an initiative-scoped cycle, or send `{ 'state': 'active' | 'completed' }` to transition it (PT-774)
PATCH/api/initiatives/:id/cycles/:cycleId
Edit an initiative-scoped cycle, or send { "state": "active" | "completed" } to transition it (PT-774). Requires tasks.update.any against the initiative.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 409
Successful response
Validation error
Unauthorized — authentication credentials are missing or invalid
Forbidden — the initiative is inaccessible or unknown, its id is malformed, the caller lacks the required permission, or the x-act-as-org selector named a non-member org. All collapse to 403 (no existence oracle).
Cycle not found or archived
Conflict: an invalid lifecycle transition, another cycle already active in the initiative, or a descriptive update setting a sequence that already exists in the initiative.