Disable repo via API without permanently removing it?

We have drone deployed in multiple regions, which we are attempting to use as an active/passive failover option. We currently have an automated way to enable all repos and configure settings using the API. However, looking at the API page for the disable repo option says that it will permanently delete it.


Is there a way to use the API to disable a repo without deleting it? In the same way clicking the “disable” button in the UI settings does not remove it but only prevents the github webhook from running.