API Reference
Update a mock server
Rename, enable/disable, or change the default response strategy.
Path Parameters
mockServerId*string
Format
uuidRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X PATCH "http://localhost:8080/mock-server/servers/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Content-Type: application/json" \ -d '{}'{
"mockServerId": "ab6f0051-1ea2-4f26-bcfb-0e9ea431b824",
"specId": "4fb8206c-5754-4ab6-9515-c4f7e63a0ec3",
"name": "string",
"defaultStrategy": "RANDOM",
"isEnabled": true,
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z"
}Empty