---
title: "List projects and deployments which are using an account."
method: GET
path: "/spaces/{spaceIdentifier}/accounts/{id}/usages"
tags: ["Accounts"]
---

# List projects and deployments which are using an account.

`GET /spaces/{spaceIdentifier}/accounts/{id}/usages`

## Request

- Base URL: `https://demo.octopus.app/api`
- URL: `https://demo.octopus.app/api/spaces/{spaceIdentifier}/accounts/{id}/usages`
- Auth: one of:
  - API key in header `X-Octopus-ApiKey`
  - API key in query parameter `ApiKey`
  - API key in header `X-NuGet-ApiKey`

## Path parameters

- `spaceIdentifier` string, required
- `id` string, required

## Response `200`

The projects and deployments which are using an account.

- AccountUsageResource
  - `CommonTenantVariables` CommonTenantVariableUsage[]
    - `LibraryVariableSets` CommonTenantVariableUsageEntry[]
      - `LibraryVariableSetId` string
      - `TenantVariableId` string
    - `TenantId` string
  - `DeploymentProcesses` StepUsage[]
    - `ProjectId` string
    - `ProjectName` string
    - `ProjectSlug` string
    - `Steps` StepUsageEntry[]
      - `StepId` string
      - `StepName` string
  - `Id` string: Gets or sets a unique identifier for this resource.
  - `LastModifiedBy` string: Gets or sets the username of the user who last modified this resource.
  - `LastModifiedOn` string, date-time: Gets or sets the date/time that this resource was last modified.
  - `LibraryVariableSets` LibraryVariableSetUsageEntry[]
    - `LibraryVariableSetId` string
    - `LibraryVariableSetName` string
  - `Links` object: Gets or sets a dictionary of links to other related resources. These links can be used to navigate the resources on the server.
  - `ProjectTenantVariables` ProjectTenantVariableUsage[]
    - `Projects` ProjectTenantVariableEntry[]
      - `ProjectId` string
      - `TenantVariableIds` string[]
    - `TenantId` string
  - `ProjectVariableSets` ProjectVariableSetUsage[]
    - `IsCurrentlyBeingUsedInProject` boolean
    - `ProjectId` string
    - `ProjectName` string
    - `ProjectSlug` string
    - `Releases` ReleaseUsageEntry[]
      - `ReleaseId` string
      - `ReleaseVersion` string
    - `RunbookSnapshots` RunbookSnapshotUsageEntry[]
      - `FrozenRunbookProcessId` string
      - `SnapshotId` string
      - `SnapshotName` string
  - `Releases` ReleaseUsage[]
    - `ProjectId` string
    - `ProjectName` string
    - `Releases` ReleaseUsageEntry[]
      - `ReleaseId` string
      - `ReleaseVersion` string
  - `RunbookProcesses` RunbookStepUsage[]
    - `ProcessId` string
    - `ProjectId` string
    - `ProjectName` string
    - `ProjectSlug` string
    - `RunbookId` string
    - `RunbookName` string
    - `Steps` StepUsageEntry[]
      - `StepId` string
      - `StepName` string
  - `RunbookSnapshots` RunbookSnapshotUsage[]
    - `ProjectId` string
    - `ProjectName` string
    - `RunbookId` string
    - `RunbookName` string
    - `Snapshots` RunbookSnapshotUsageEntry[]
      - `FrozenRunbookProcessId` string
      - `SnapshotId` string
      - `SnapshotName` string
  - `Targets` TargetUsageEntry[]
    - `TargetId` string
    - `TargetName` string

## 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.dev/octopus/apis/octopus-server-api.md) - [All operations](https://skmtc.dev/octopus/apis/octopus-server-api/llms.txt) - [OpenAPI document](https://skmtc.dev/octopus/apis/octopus-server-api/revisions/fe937c07da34?raw)
