ScopedUserRoles
Modify a scoped user role.
put/{spaceId}/scopeduserroles/{id}
Request
- Base URLhttps://demo.octopus.app/api
- URLhttps://demo.octopus.app/api/{spaceId}/scopeduserroles/{id}
- 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
idstring required
The ID of the scoped user role to modify.
Request body
Example request
{
"EnvironmentIds": [
"Environments-1",
"..."
],
"ProjectGroupIds": [
"ProjectGroups-1",
"..."
],
"ProjectIds": [
"Projects-1",
"..."
],
"SpaceId": "Spaces-1",
"TenantIds": [
"Tenants-1",
"..."
]
}Response
Confirmation that the Scoped User Role was modified, containing the updated Role
Example response
{
"EnvironmentIds": [
"Environments-1",
"..."
],
"Links": {
"Self": "/api/..."
},
"ProjectIds": [
"Projects-1",
"..."
],
"SpaceId": "Spaces-1",
"TenantIds": [
"Tenants-1",
"..."
]
}