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
-
serviceMockIdintegerrequired
The virtual service identifier
-
workspaceIdintegerrequired
The workspace identifier
Response200 OK
{
"apiVersion": 0,
"error": "string",
"limit": 0,
"link": "string",
"requestId": "string",
"skip": 0,
"total": 0
}