---
title: "Lists all the variable set names (projects and library variable sets) that have variables that are scoped to only the given machine"
method: GET
path: "/machines/{machineId}/singlyScopedVariableDetails"
tags: ["DeploymentTargets"]
---

# Lists all the variable set names (projects and library variable sets) that have variables that are scoped to only the given machine

`GET /machines/{machineId}/singlyScopedVariableDetails`

## Path parameters

- `machineId` string, required

## Response `200`

The names of LibraryVariableSets and VariableSets which contain one or more variables scoped to the requested machine. Along with boolean indication to show that there are unviewable/editable projects/libraries which also contain scoped variables.

- GetVariablesScopedToSingleDeploymentTargetResponse
  - `Resource` VariablesScopedToDocumentResource, required
    - `HasUnauthorizedLibraryVariableSetVariables` boolean, required
    - `HasUnauthorizedProjectVariables` boolean, required
    - `VariableMap` object, required

## Other responses

- `400` — Bad request. Either the payload was not structurally valid or business rules did not permit the operation.
- `404` — Not found. One or more of the entities involved in the operation was not found.

---

[API](https://skmtc.net/octopus/apis/octopus-server-api.md) · [All operations](https://skmtc.net/octopus/apis/octopus-server-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/octopus/octopus-server-api/versions/bc9158facfc7/schema)
