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}/users/{userId}/teams

Request

  • Base URL
    https://demo.octopus.app/api
  • 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

userIdstring required

ID of the user

Response

The requested Team Membership

Idstring
IsDirectlyAssignedboolean
Namestring
SpaceIdstring

Example response

[
  {
    "SpaceId": "Spaces-1"
  }
]

Changes

No recorded changes to this operation across all 16 revisions of this API.