It is important to carefully consider the process and necessity of discontinuing an API. For example, the API may be utilised in other services, in which case their functionality depends on the functioning of the API. The data shared through the interface may also be historically significant, in which case it is worth considering sharing the data in some other way if the interface is to be discontinued.
The discontinuation of the API must be communicated well in advance before its technical implementation. Your communications must provide detailed information on the date and time of the shutdown, and you should attempt to reach everyone who uses the API. In addition, the API’s users should be informed when the shutdown is complete.