Blog
API Deprecation: A Warning Header Is Not A Migration Plan
Marking an endpoint deprecated in OpenAPI changes documentation. It does not update a mobile app, partner integration, forgotten batch job, or service nobody owns.
Removal needs evidence.
Identify Real Consumers
Instrument the deprecated route by authenticated client identity and operation. Sampling generic access logs is weak when one monthly payroll job matters more than a million test calls.
Create an owner list. Unknown consumers are work item, not permission to delete.
Publish A Concrete Replacement
Document field mappings, semantic differences, authentication changes, pagination behavior, and examples. Give a date, support channel, and test environment.
If the new API cannot express an old use case, the consumer is not “resistant to migration.” Your replacement is incomplete.
Enforce Stages
Move from announcement to warnings, direct contact, controlled test failures, and final shutdown. Keep rollback possible during the first enforcement window.
Compatibility tests should protect the old contract until the declared end. Quietly breaking it while telling clients to migrate is still breaking it.
The deletion commit is last five percent. Most deprecation work is discovering humans, traffic, and semantics hidden behind the endpoint.