Delete Virtual Service Template
To delete a Virtual Service template, you need to know your Workspace identifier and the Virtual Service Template identifier. The sample code uses a serviceMockTemplateId
of 8
and a workspaceId
of 123456
. Use the actual ID values of your Workspace and Virtual Service template.
Minimum Parameters for deleting a Virtual Service template
The following parameters are the base parameters required to delete a Virtual Service template.
Delete a Virtual Service TemplateMinimum Configuration Sample
curl 'https://mock.blazemeter.com/api/v1/workspaces/123456/service-mock-templates/8' \
-X DELETE \
-H 'accept: */*'
Delete a Virtual Service Template Request Attributes
Attributes
-
serviceMockId
integerrequired
The Virtual Service identifier
-
workspaceId
integerrequired
The Workspace identifier
Response200 OK
{
"apiVersion": 0,
"error": "string",
"limit": 0,
"link": "string",
"requestId": "string",
"skip": 0,
"total": 0
}