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.
| Stage | Lead window | Action & HTTP response | Rule |
|---|---|---|---|
| Deprecation notice | T minus 6 to 12 months | Mark deprecated: true and send Deprecation + Sunset | ADP-018 |
| Consumer outreach | T minus 90 days | Query traffic logs by API key and notify active callers | ADP-044 |
| Scheduled brownouts | T minus 14 days | Short 410 Gone maintenance windows flush stale cron jobs | ADP-044 |
| Permanent shutdown | Sunset date | Return 410 Gone with migration Link header | ADP-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.