Logo
30daysofpostman API Documentation

Unpublish a mock server

DELETE https://api.getpostman.com/mocks/{{mockUid}}/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": "06040138-dd6b-4cce-9a02-7e1c1ab59723" } }



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

ENDPOINTS