Stop a virtual service
To stop a virtual service, you need to know your workspace identifier and the virtual service identifier. The sample code uses a serviceMockId of 1234 and a workspaceId of 123456. Use the actual ID values of your workspace and virtual service.
Minimum parameters for stopping a virtual service
The following parameters are the base parameters required to stop a virtual service.
Stop virtual serviceMinimum configuration sample
curl 'https://mock.blazemeter.com/api/v1/workspaces/123456/service-mocks/1234/stop' \
-X GET \
-H 'accept: application/json;charset=UTF-8'
Stop virtual service request attributes
Attributes
-
serviceMockIdintegerrequired
The virtual service identifier
-
workspaceIdintegerrequired
The workspace identifier
Response200 OK
{
"apiVersion": 0,
"error": "string",
"limit": 0,
"link": "string",
"requestId": "string",
"result": [],
"skip": 0,
"total": 0
}