Terminate Masters in Projects
API Explorer: /projects/{projectId}/terminate-masters
To terminate all running masters in a project, you need the projectId of the project. For the sample code on the right, we are terminating all the running masters in projectId 123456. To terminate all the masters in your project, replace the projectId 123456 with the projectId of your project.
Terminate Masters in Projects
curl 'https://a.blazemeter.com/api/v4/projects/123456/terminate-masters' \
-X POST \
-H 'Content-Type: application/json' \
--user 'api_key_id:api_key_secret' \
-d '{"dryRun": false}'
Terminate Masters in Project Request Attributes
Attributes
-
dryRunbooleanrequired
If
false, the request is will terminate all masters in the given project. Iftrue, the masters will not be terminated, but a list will be provided
Terminate Masters in ProjectTerminate Masters in Project POST Body (JSON)
{
"dryRun": false
}
Terminate Masters in Project Response Attributes
Attributes
-
resultarrayContains a list of
masterIds terminated (ifdryRun=false) or will be terminated (ifdryRun=true)
Response201 Created
{
"api_version": 4,
"error": null,
"result": [
21509126,
21509125
],
"request_id": "5dc5a94bcc138"
}