delete_mock
Permanently delete a single mock API endpoint from a project workspace, including all of its conditional response rules, chaos configuration, and captured request logs. WARNING: This action is irreversible. If you only want to remove a single rule scenario from the mock, use remove_mock_rule instead.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"projectId": "<projectId>",
"mockId": "<mockId>"
},
"name": "delete_mock"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mockId | Yes | Database ID of the mock API endpoint to delete (obtain from list_mocks or search_mocks). | |
| projectId | Yes | Database ID of the project workspace containing the mock (obtain from list_projects or search_mocks). |