📁 Sangam Dhakal - Portfolio v2.0 - Netscape Navigator 4.0
_
□
×

📚 Interview question

How would you retire v1 of an API that 30 partners still call?

Intermediate Theory Intermediate api-lifecycle api-versioning deprecation sunset-header web-api

🎯 Key points

  • Per-client traffic data (API Management, Application Insights) before announcing
  • Published notice period with a date, e.g. 12 months
  • Deprecation (RFC 9745) and Sunset (RFC 8594) headers with a Link to the migration guide
  • Direct contact with each integrator, using their own traffic numbers
  • Migration support: guide, v1-to-v2 field map, FAQ, sandbox and a named support contact
  • Feedback channel and migration tracking per partner (calls on v1 trending to zero)
  • Scheduled brownouts before final removal
  • 410 Gone with ProblemDetails pointing to v2 after sunset

⏱ 30-second answer

Measure first: per-version and per-client traffic from Azure API Management or Application Insights, so you know exactly which of the 30 partners still call v1 and how much. Publish a deprecation notice with a date (for example 12 months), emit Deprecation (RFC 9745) and Sunset (RFC 8594) headers with a Link to the migration guide, and contact each partner directly with their own numbers.

  • Support the move: a migration guide with a v1→v2 field map, a sandbox, an FAQ and a named contact; ask for feedback and fix the blockers partners raise.
  • Track it: a per-partner migration dashboard, chased monthly.
  • Flush out silent clients: scheduled brownouts in the final months, then 410 Gone with a ProblemDetails body pointing to v2.

The trade-off is time and support effort against the cost of running two versions.

🔍 What the interviewer is checking

Checks the candidate can run a deprecation end to end: measurement, communication, migration support and feedback, headers, brownouts and the final cut-over.

Green flags

  • Starts from per-client traffic data, not an announcement
  • Offers partners concrete migration help and a feedback channel
  • Names the Deprecation and Sunset headers and brownouts

Red flags

  • Just switches v1 off on a date
  • Relies on an email blast with no follow-up per partner

↩ Usually asked after

More in API Design

Last updated 23 Nov 2026.

🌐 Sangam's Webring

⏪ Previous 🏠 Main Next ⏩
💬 Chat with me