Accounts
Get a list of Accounts
Lists all of the accounts in the supplied Octopus Deploy Space. The results will be sorted alphabetically by name.
get/{spaceId}/accounts/all
Request
- Base URLhttps://demo.octopus.app/api
- URLhttps://demo.octopus.app/api/{spaceId}/accounts/all
- 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
spaceIdstring required
The ID of the space containing the resource(s).
Response
The requested list of Accounts
Example response
[
{
"EnvironmentIds": [
"Environments-1",
"..."
],
"Links": {
"Self": "/api/..."
},
"SpaceId": "Spaces-1",
"TenantIds": [
"Tenants-1",
"..."
]
}
]