POST https://api.getpostman.com/mocks/{{mock_uid}}/publish
This endpoint publishes the mock you have created using its Requires API Key as uid
X-Api-Key
request header or apikey
URL query parameter.
Body
PARAM
Key | Datatype | Required | Description |
HEADERS
Key | Datatype | Required | Description |
RESPONSES
status OK
{
"mock": {
"id": "06040138-dd6b-4cce-9a02-7e1c1ab59723"
}
} |
ENDPOINTS