Logo
30 Days of Postman API Documentation

Delete Environment

DELETE https://api.getpostman.com/environments/{{environment_uid}}

This endpoint allows you to delete a single environment based on an environment's unique uid.

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

{ "environment": { "id": "4dfb28a4-9a6c-4ce4-b31a-17c26a8b2cce", "uid": "5852-4dfb28a4-9a6c-4ce4-b31a-17c26a8b2cce" } }



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

ENDPOINTS