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"
}