Number of APIs: 2
Here is how you can delete the API using the Qodex API. 1) Fetch all of the API key Id. curl --location --request DELETE 'https://api.getQodex.com/apis/{api-id}' --header 'x-api-key: {api-key}'
2) Delete the API using the second request else you can also directly delete the API by running the below curl command in the terminal:
1. Fetch API-ID
GET https://api.getpostman.com/apis
You should be able to list down all the APIs created by you and was synced to the web dashboard. If the APIs are not part of any workspace, they should still be listed here.
2. Delete API
DELETE https://api.getpostman.com/apis/{{createdBy}}-{{api-id}}
Enter your userID in the createdBy
variable and the API-id
from the first response.