Terminate Masters in Account
API Explorer: /accounts/{accountId}/terminate-masters
To terminate all running masters in an account, you need the accountId
of the account and account admin access. For the sample code on the right, we are terminating all the running masters in accountId
123456
. To terminate all the masters in your account, replace the accountId
123456
with the accountId
of your account.
accountId
of the account, use view the accountId
glossary section for the details on where to find this value.curl 'https://a.blazemeter.com/api/v4/accounts/123456/terminate-masters' \
-X POST \
-H 'Content-Type: application/json' \
--user 'api_key_id:api_key_secret' \
-d '{"dryRun": false}'
Terminate Masters in Account Request Attributes
Attributes
-
dryRun
booleanrequired
If
false
, the request is will terminate all masters in the given account. Iftrue
, the masters will not be terminated, but a list will be provided
Terminate Masters in AccountTerminate Masters in Account POST Body (JSON)
{
"dryRun": false
}
Terminate Masters in Account Response Attributes
Attributes
-
result
arrayContains a list of
masterId
s terminated (ifdryRun
=false
) or will be terminated (ifdryRun
=true
)
Response200 OK
{
"api_version": 4,
"error": null,
"result": [
21509126,
21509125
],
"request_id": "5dc5a94bcc138"
}