ScopedUserRoles
List Scoped User Roles
List the name and ID of all of the scoped user roles in the supplied Octopus Deploy Space. The results will be sorted by name.
get/scopeduserroles
Request
- Base URLhttps://demo.octopus.app/api
- URLhttps://demo.octopus.app/api/scopeduserroles
- Auth
- API key in header X-Octopus-ApiKey
- or API key in query parameter ApiKey
- or API key in header X-NuGet-ApiKey
Query parameters
idsstring[]
skipinteger
Number of items to skip. Defaults to zero
takeinteger
Number of items to take. Defaults to 30
Response
The requested list of Scoped User Roles
Example response
{
"Items": [
{
"EnvironmentIds": [
"Environments-1",
"..."
],
"Links": {
"Self": "/api/..."
},
"ProjectIds": [
"Projects-1",
"..."
],
"SpaceId": "Spaces-1",
"TenantIds": [
"Tenants-1",
"..."
]
}
],
"ItemsPerPage": 30,
"ItemType": "ScopedUserRole",
"LastPageNumber": 1,
"Links": {
"Self": "/api/..."
},
"NumberOfPages": 2,
"TotalResults": 42
}Changes
No recorded changes to this operation across all 13 revisions of this API.