fix: register task pause/resume routes under /api/v2 by EhabY · Pull Request #22544 · coder/coder

@EhabY self-assigned this

Mar 3, 2026

@EhabY

The pause/resume endpoints were only registered under
/api/experimental but the frontend and Go SDK were calling
/api/v2, resulting in 404s. Register the routes in the v2
group, update the SDK client paths, and fix swagger annotations
(Accept → Produce) since these POST endpoints have no request body.

SasSwart

@EhabY EhabY deleted the move-pause-resume-stable-api branch

March 3, 2026 13:34