📅 API Deprecation Communication
Master vocabulary for API deprecation: lifecycle phases, HTTP deprecation headers, migration guides, consumer notification strategy, and breaking change announcements. Intermediate
An API team is planning to retire the v1 /auth/token endpoint. Which sequence correctly describes the standard API deprecation lifecycle?
Option B describes the industry-standard deprecation lifecycle. Skipping phases creates consumer trust problems and potential business and contractual damage for external APIs:
| Phase | What happens | Consumer action |
|---|---|---|
| 1. Announcement | Deprecation notice published: changelog, email, dashboard banner, API docs updated | Begin planning migration |
| 2. Soft deprecation | Endpoint still works; Deprecation header added to responses; warnings in developer console | Monitoring tools alert engineering teams; migration begins |
| 3. Sunset date published | Sunset header added to responses; final notices sent | Complete migration before the date |
| 4. Hard removal | Endpoint returns 410 Gone or is removed from routing | Any remaining integrations break — migration window has closed |
Timeline guidance: For widely-used public APIs, 6–12 months between announcement and hard removal is standard. For internal APIs with known consumers, 90 days is often sufficient. For APIs with large enterprise customers or SLA obligations, longer timelines and direct migration support may be required.