Logo
30 days of Postman - for developers API Documentation

Delete an API

DELETE https://api.getpostman.com/apis/{{apiId}}

This call deletes an existing API having the specified id.

Response contains an api object with id of the API which was deleted.

Requires API Key as X-Api-Key request header or apikey URL query parameter.

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 




RESPONSES

status OK

{ "api": { "id": "387c2863-6ee3-4a56-8210-225f774edade" } }



Curl
curl -X DELETE 'https://api.getpostman.com/apis/undefined'

ENDPOINTS