API Reference
Update an operation config
Enable/disable an operation or override its response strategy.
Path Parameters
mockServerId*string
Format
uuidoperationId*string
Request 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/operations/string" \ -H "Content-Type: application/json" \ -d '{}'{
"configId": "46ff6d11-d8b2-40d8-9197-dfa33c61cd6c",
"mockServerId": "ab6f0051-1ea2-4f26-bcfb-0e9ea431b824",
"operationId": "string",
"isEnabled": true,
"strategyOverride": "RANDOM",
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z"
}