Delete Virtual Services

To delete a Virtual Service, you need to know your Workspace identifier and the Virtual Service identifier. The sample code uses a servicevirtualId of 1234 and a workspaceId of 123456. Use the actual ID values of your Workspace and Virtual Service.

 

Minimum Parameters for Deleting a Virtual Service

The following parameters are the base parameters required to delete a Virtual Service.

Delete Virtual ServiceMinimum Configuration Sample

curl 'https://mock.blazemeter.com/api/v1/workspaces/123456/service-mocks/1234' \
    -X DELETE \
    -H 'accept: application/json;charset=UTF-8'

Delete Virtual Service Request Attributes

Attributes

Response200 OK

{
  "body": {},
  "statusCode": "100 CONTINUE",
  "statusCodeValue": 0
}