cURL
curl --request DELETE \ --url https://{tenant}/api/apis/oas/{apiId} \ --header 'Authorization: Bearer <token>'
{ "Message": "API deleted.", "Meta": null, "Status": "OK" }
Deleting an API definition will remove the file from the file store. The API definition will not be unloaded and a separate reload request will need to be made to disable the API endpoint.
The Tyk Dashboard API Access Credentials
ID of the API you want to delete.
Deleted successfully.
Was this page helpful?