TeamMemberships
Preview Users that would belong to the specified Team
Lists all the Users that would belong to the specified Team, including information about whether they are directly assigned and/or indirectly assigned via external security groups.
post/spaces/{spaceIdentifier}/teammembership/previewteam
Request
- Base URLhttps://demo.octopus.app/api
- URLhttps://demo.octopus.app/api/spaces/{spaceIdentifier}/teammembership/previewteam
- 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
spaceIdentifierstring required
Identifier (ID or slug) of the space
Request body
Example request
{
"Id": "Teams-1",
"MemberUserIds": [
"Users-1",
"..."
],
"SpaceId": "Spaces-1"
}Response
The requested Preview of Team Membership
Example response
[
{
"SpaceId": "Spaces-1",
"TeamId": "Teams-1",
"UserId": "Users-1"
}
]Changes
No recorded changes to this operation across all 13 revisions of this API.