Delete an Agent
API Explorer: /private-locations/{harborId}/servers/{shipId}
To delete an agent, DELETE the provided configuration (you will need the harborId
and shipId
). The sample code deletes the shipId
of 5d2657219583d81adc3778b4
from the private location with harborId
of 5d1641a21726d36d4632fd34
. To use this API, replace the shipId
of 5d2657219583d81adc3778b4
with your shipId
and replace the harborId
of 5d1641a21726d36d4632fd34
with your harborId
.
If you do not know the
harborId
of the private location, use List Private Locations to return a list of your private locations. If you do not know the shipId
of the agent to delete, use List Agents to return a list of your agents in the private location.Delete an Agent
curl 'https://a.blazemeter.com/api/v4/private-locations/5d1641a21726d36d4632fd34/servers/5d2657219583d81adc3778b4' \
-X DELETE \
-H 'Content-Type: application/json' \
--user 'api_key_id:api_key_secret'
Response204 No Content