API deprecation and Sunset header rollout

RFC 9745 Deprecation and RFC 8594 Sunset rollout stages under ADP-044.

Deprecation rollout timeline

Give integrators machine-readable headers months before turning off routes.

StageLead windowAction & HTTP responseRule
Deprecation noticeT minus 6 to 12 monthsMark deprecated: true and send Deprecation + SunsetADP-018
Consumer outreachT minus 90 daysQuery traffic logs by API key and notify active callersADP-044
Scheduled brownoutsT minus 14 daysShort 410 Gone maintenance windows flush stale cron jobsADP-044
Permanent shutdownSunset dateReturn 410 Gone with migration Link headerADP-044

Standard deprecation headers

Deprecation: @1794873600
Sunset: Sat, 15 May 2027 00:00:00 GMT
Link: <https://api.example.com/docs/migrate-v2>; rel="deprecation"

Lint deprecated routes automatically

ADP-018 flags any operation marked deprecated: true without documented headers in the OpenAPI Validator.