Logo
30 Day Challange API Documentation

Unpublish a mock server

DELETE https://api.getpostman.com/mocks/{{mockId}}/unpublish

Unpublishes a mock server. Unpublishing a mock server sets its Access Control configuration setting to private.

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 




RESPONSES

status OK

{ "mock": { "id": "e3d951bf-873f-49ac-a658-b2dcb91d3289" } }



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

ENDPOINTS