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/{spaceId}/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

spaceIdstring required

The ID of the space containing the resources.

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.