Accounts

List projects and deployments which are using an account.

get/accounts/{id}/usages

Request

  • Base URL
    https://demo.octopus.app/api
  • Auth
    • API key in header X-Octopus-ApiKey
    • or API key in query parameter ApiKey
    • or API key in header X-NuGet-ApiKey

Path parameters

idstring required

Id of the account

Response

The projects and deployments which are using an account.

Idstring

Gets or sets a unique identifier for this resource.

LastModifiedBystring

Gets or sets the username of the user who last modified this resource.

LastModifiedOnstring date-time

Gets or sets the date/time that this resource was last modified.

Linksobject

Gets or sets a dictionary of links to other related resources. These links can be used to navigate the resources on the server.

Example response

{
  "CommonTenantVariables": [
    {
      "LibraryVariableSets": [
        {
          "LibraryVariableSetId": "LibraryVariableSets-1"
        }
      ],
      "TenantId": "Tenants-1"
    }
  ],
  "Links": {
    "Self": "/api/..."
  },
  "ProjectTenantVariables": [
    {
      "Projects": [
        {
          "ProjectId": "Projects-1"
        }
      ],
      "TenantId": "Tenants-1"
    }
  ],
  "ProjectVariableSets": [
    {
      "ProjectId": "Projects-1",
      "Releases": [
        {
          "ReleaseId": "Releases-1"
        }
      ]
    }
  ],
  "Releases": [
    {
      "Releases": [
        {
          "ReleaseId": "Releases-1"
        }
      ]
    }
  ],
  "RunbookSnapshots": [
    {
      "ProjectId": "Projects-1"
    }
  ]
}

Changes

No recorded changes to this operation across all 16 revisions of this API.