{
  "opencollection": "1.0.0",
  "info": {
    "name": "Webex Admin Address Book Workspace Locations API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Workspace Locations",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Workspace Locations",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/workspaceLocations",
            "params": [
              {
                "name": "orgId",
                "value": "Y2lzY29zcGFyazovL3VzL09SR0FOSVpBVElPTi85NmFiYzJhYS0zZGNjLTExZTUtYTE1Mi1mZTM0ODE5Y2RjOWE",
                "type": "query",
                "description": "List workspace locations in this organization. Only admin users of another organization (such as partners) may use this parameter."
              },
              {
                "name": "displayName",
                "value": "Cisco Barcelona",
                "type": "query",
                "description": "Location display name."
              },
              {
                "name": "address",
                "value": "Carrer de Pere IV, Barcelona, Spain",
                "type": "query",
                "description": "Location address."
              },
              {
                "name": "countryCode",
                "value": "ES",
                "type": "query",
                "description": "Location country code (ISO 3166-1)."
              },
              {
                "name": "cityName",
                "value": "Barcelona",
                "type": "query",
                "description": "Location city name."
              }
            ]
          },
          "docs": "<div><Callout type=\"warning\">The Workspace Locations API is deprecated and will be decommissioned November 30, 2024. Please use the [/locations API](/docs/api/v1/locations) for future projects, and use `locationId` instead of `workspaceLocationId` when interacting with device or workspace APIs.</Callout></div>\n\nList workspace locations. Use query parameters to filter the response. The `orgId` parameter can only be used by admin users of another\norganization (such as partners). The `displayName`,"
        },
        {
          "info": {
            "name": "Create a Workspace Location",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/workspaceLocations",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "<div><Callout type=\"warning\">The Workspace Locations API is deprecated and will be decommissioned November 30, 2024. Please use the [/locations API](/docs/api/v1/locations) for future projects, and use `locationId` instead of `workspaceLocationId` when interacting with device or workspace APIs.</Callout></div>\n\nCreate a location. The `cityName` and `notes` parameters are optional, and omitting them will result in the creation of a location without values for those attributes.\nRequires an adminis"
        },
        {
          "info": {
            "name": "Get a Workspace Location Details",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/workspaceLocations/:locationId",
            "params": [
              {
                "name": "locationId",
                "value": "Y2lzY29zcGFyazovL3VybjpURUFNOnVzLWVhc3QtMV9pbnQxMy9XT1JLU1BBQ0VfTE9DQVRJT04vM2E2ZmYzNzMtNjhhNy00NGU0LTkxZDYtYTI3NDYwZTBhYzVjIzUxOWY2N2E1LTlkOTktNGM2My04YTA5LWI5MTcxY2M2NmJkMQ==",
                "type": "path",
                "description": "A unique identifier for the location."
              }
            ]
          },
          "docs": "<div><Callout type=\"warning\">The Workspace Locations API is deprecated and will be decommissioned November 30, 2024. Please use the [/locations API](/docs/api/v1/locations) for future projects, and use `locationId` instead of `workspaceLocationId` when interacting with device or workspace APIs.</Callout></div>\n\nShows details for a location, by ID. Specify the location ID in the `locationId` parameter in the URI.\nRequires an administrator auth token with the `spark-admin:workspace_locations_read`"
        },
        {
          "info": {
            "name": "Update a Workspace Location",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/workspaceLocations/:locationId",
            "params": [
              {
                "name": "locationId",
                "value": "Y2lzY29zcGFyazovL3VybjpURUFNOnVzLWVhc3QtMV9pbnQxMy9XT1JLU1BBQ0VfTE9DQVRJT04vM2E2ZmYzNzMtNjhhNy00NGU0LTkxZDYtYTI3NDYwZTBhYzVjIzUxOWY2N2E1LTlkOTktNGM2My04YTA5LWI5MTcxY2M2NmJkMQ==",
                "type": "path",
                "description": "A unique identifier for the location."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "<div><Callout type=\"warning\">The Workspace Locations API is deprecated and will be decommissioned November 30, 2024. Please use the [/locations API](/docs/api/v1/locations) for future projects, and use `locationId` instead of `workspaceLocationId` when interacting with device or workspace APIs.</Callout></div>\n\nUpdates details for a location, by ID. Specify the location ID in the `locationId` parameter in the URI. The request should include all details for the location returned in a previous cal"
        },
        {
          "info": {
            "name": "Delete a Workspace Location",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/workspaceLocations/:locationId",
            "params": [
              {
                "name": "locationId",
                "value": "Y2lzY29zcGFyazovL3VybjpURUFNOnVzLWVhc3QtMV9pbnQxMy9XT1JLU1BBQ0VfTE9DQVRJT04vM2E2ZmYzNzMtNjhhNy00NGU0LTkxZDYtYTI3NDYwZTBhYzVjIzUxOWY2N2E1LTlkOTktNGM2My04YTA5LWI5MTcxY2M2NmJkMQ==",
                "type": "path",
                "description": "A unique identifier for the location."
              }
            ]
          },
          "docs": "<div><Callout type=\"warning\">The Workspace Locations API is deprecated and will be decommissioned November 30, 2024. Please use the [/locations API](/docs/api/v1/locations) for future projects, and use `locationId` instead of `workspaceLocationId` when interacting with device or workspace APIs.</Callout></div>\n\nDeletes a location, by ID. The workspaces associated to that location will no longer have a location, but a new location can be reassigned to them.\nRequires an administrator auth token wi"
        },
        {
          "info": {
            "name": "List Workspace Location Floors",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/workspaceLocations/:locationId/floors",
            "params": [
              {
                "name": "locationId",
                "value": "Y2lzY29zcGFyazovL3VybjpURUFNOnVzLWVhc3QtMV9pbnQxMy9XT1JLU1BBQ0VfTE9DQVRJT04vM2E2ZmYzNzMtNjhhNy00NGU0LTkxZDYtYTI3NDYwZTBhYzVjIzUxOWY2N2E1LTlkOTktNGM2My04YTA5LWI5MTcxY2M2NmJkMQ==",
                "type": "path",
                "description": "A unique identifier for the location."
              }
            ]
          },
          "docs": "<div><Callout type=\"warning\">The Workspace Locations API is deprecated and will be decommissioned November 30, 2024. Please use the [/locations API](/docs/api/v1/locations) for future projects, and use `locationId` instead of `workspaceLocationId` when interacting with device or workspace APIs.</Callout></div>\n\nList workspace location floors.\nRequires an administrator auth token with the `spark-admin:workspace_locations_read` scope."
        },
        {
          "info": {
            "name": "Create a Workspace Location Floor",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/workspaceLocations/:locationId/floors",
            "params": [
              {
                "name": "locationId",
                "value": "Y2lzY29zcGFyazovL3VybjpURUFNOnVzLWVhc3QtMV9pbnQxMy9XT1JLU1BBQ0VfTE9DQVRJT04vM2E2ZmYzNzMtNjhhNy00NGU0LTkxZDYtYTI3NDYwZTBhYzVjIzUxOWY2N2E1LTlkOTktNGM2My04YTA5LWI5MTcxY2M2NmJkMQ==",
                "type": "path",
                "description": "A unique identifier for the location."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "<div><Callout type=\"warning\">The Workspace Locations API is deprecated and will be decommissioned November 30, 2024. Please use the [/locations API](/docs/api/v1/locations) for future projects, and use `locationId` instead of `workspaceLocationId` when interacting with device or workspace APIs.</Callout></div>\n\nCreate a new floor in the given location. The `displayName` parameter is optional, and omitting it will result in the creation of a floor without that value set.\nRequires an administrator"
        },
        {
          "info": {
            "name": "Get a Workspace Location Floor Details",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/workspaceLocations/:locationId/floors/:floorId",
            "params": [
              {
                "name": "locationId",
                "value": "Y2lzY29zcGFyazovL3VybjpURUFNOnVzLWVhc3QtMV9pbnQxMy9XT1JLU1BBQ0VfTE9DQVRJT04vM2E2ZmYzNzMtNjhhNy00NGU0LTkxZDYtYTI3NDYwZTBhYzVjIzUxOWY2N2E1LTlkOTktNGM2My04YTA5LWI5MTcxY2M2NmJkMQ==",
                "type": "path",
                "description": "A unique identifier for the location."
              },
              {
                "name": "floorId",
                "value": "xx",
                "type": "path",
                "description": "A unique identifier for the floor."
              }
            ]
          },
          "docs": "<div><Callout type=\"warning\">The Workspace Locations API is deprecated and will be decommissioned November 30, 2024. Please use the [/locations API](/docs/api/v1/locations) for future projects, and use `locationId` instead of `workspaceLocationId` when interacting with device or workspace APIs.</Callout></div>\n\nShows details for a floor, by ID. Specify the floor ID in the `floorId` parameter in the URI.\nRequires an administrator auth token with the `spark-admin:workspace_locations_read` scope."
        },
        {
          "info": {
            "name": "Update a Workspace Location Floor",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/workspaceLocations/:locationId/floors/:floorId",
            "params": [
              {
                "name": "locationId",
                "value": "Y2lzY29zcGFyazovL3VybjpURUFNOnVzLWVhc3QtMV9pbnQxMy9XT1JLU1BBQ0VfTE9DQVRJT04vM2E2ZmYzNzMtNjhhNy00NGU0LTkxZDYtYTI3NDYwZTBhYzVjIzUxOWY2N2E1LTlkOTktNGM2My04YTA5LWI5MTcxY2M2NmJkMQ==",
                "type": "path",
                "description": "A unique identifier for the location."
              },
              {
                "name": "floorId",
                "value": "xx",
                "type": "path",
                "description": "A unique identifier for the floor."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "<div><Callout type=\"warning\">The Workspace Locations API is deprecated and will be decommissioned November 30, 2024. Please use the [/locations API](/docs/api/v1/locations) for future projects, and use `locationId` instead of `workspaceLocationId` when interacting with device or workspace APIs.</Callout></div>\n\nUpdates details for a floor, by ID. Specify the floor ID in the `floorId` parameter in the URI. Include all details for the floor returned by a previous call to [Get Workspace Location Fl"
        },
        {
          "info": {
            "name": "Delete a Workspace Location Floor",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/workspaceLocations/:locationId/floors/:floorId",
            "params": [
              {
                "name": "locationId",
                "value": "Y2lzY29zcGFyazovL3VybjpURUFNOnVzLWVhc3QtMV9pbnQxMy9XT1JLU1BBQ0VfTE9DQVRJT04vM2E2ZmYzNzMtNjhhNy00NGU0LTkxZDYtYTI3NDYwZTBhYzVjIzUxOWY2N2E1LTlkOTktNGM2My04YTA5LWI5MTcxY2M2NmJkMQ==",
                "type": "path",
                "description": "A unique identifier for the location."
              },
              {
                "name": "floorId",
                "value": "xx",
                "type": "path",
                "description": "A unique identifier for the floor."
              }
            ]
          },
          "docs": "<div><Callout type=\"warning\">The Workspace Locations API is deprecated and will be decommissioned November 30, 2024. Please use the [/locations API](/docs/api/v1/locations) for future projects, and use `locationId` instead of `workspaceLocationId` when interacting with device or workspace APIs.</Callout></div>\n\nDeletes a floor, by ID.\nRequires an administrator auth token with the `spark-admin:workspace_locations_write` scope."
        }
      ]
    }
  ],
  "bundled": true
}