Publish a mock server
POST https://api.getpostman.com/mocks/{{mockUid}}/publish
Publishes a mock server. Publishing a mock server sets its Access Control configuration setting to public.
Body
PARAM
Key | Datatype | Required | Description |
HEADERS
Key | Datatype | Required | Description |
RESPONSES
status OK
{
"mock": {
"id": "06040138-dd6b-4cce-9a02-7e1c1ab59723"
}
} |
ENDPOINTS