POST https://api.getpostman.com/mocks/{{mockId}}/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": "e3d951bf-873f-49ac-a658-b2dcb91d3289"
}
} |
ENDPOINTS