TeamMemberships
Get a list of Team Memberships for a user.
Lists all Teams a user is a member of, including any from external auth-provider security groups. Memberships are filtered by userId.
get/spaces/{spaceIdentifier}/teammembership
Request
- Base URLhttps://demo.octopus.app/api
- URLhttps://demo.octopus.app/api/spaces/{spaceIdentifier}/teammembership
- 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
Query parameters
userIdstring required
ID of the user
Response
The requested Team Membership
Example response
[
{
"SpaceId": "Spaces-1",
"UserId": "Users-1"
}
]Changes
No recorded changes to this operation across all 13 revisions of this API.