Get Location of a Workspace

To get the location of your Workspace, you need to know your Workspace identifier. The sample code uses a workspaceId of 123456. Use the actual ID value of your Workspace.

This call returns the Location identifier of your workspace.

 

Minimum Parameters for Getting the Location of a Workspace

The following parameters are the base parameters required to get the location.

Get LocationMinimum Configuration Sample

curl 'https://mock.blazemeter.com/api/v1/workspaces/123456/locations' \
    -X GET \
    -H 'accept: application/json;charset=UTF-8'

Get Location Request Attributes

Attributes

Response200 OK

{
    "apiVersion": 1,
    "error": null,
    "result": [
      {
        "shipId": "1234567890abcd1234567890",
        "shipName": "Test Agent",
        "harborId": "0987654321abcd0987654321",
        "harborName": "My Private Location",
        "provider": "Private Locations"
      }
    ],
    "requestId": "12345abcdef67890"
}