updateMock
Update a mock server's name, environment, privacy, or default response. Activate a server response by setting its ID, or pass null to deactivate.
Instructions
Updates a mock server.
Resource: Mock server entity associated with a collection UID.
Use this to change name, environment, privacy, or default server response.
To activate a server response, set `config.serverResponseId` to the server response's `id`. Pass `null` to deactivate.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mock | No | ||
| mockId | Yes | The mock's ID. |