StackHawk Documentation StackHawk Logo HawkDocs

No results found

Try different keywords or check your spelling

Search documentation

Find guides, API references, and more

esc

Find Teams for User

GET /api/v1/org/{orgId}/user/{userId}/teams

Find Teams for User

Find the teams that this user is assigned to in this organization. Only the currently authenticated user can be referenced as the userId URL parameter.

Requires read:team permission.

Path parameters

orgIdstring · uuidrequired

UUID identifier for this StackHawk Organization.

userIdstring · uuidrequired

UUID identifier for this StackHawk User.

Query parameters

pageTokeninteger · int32

Pagination request page increment.

default: 0
pageSizeinteger · int32

Pagination response size limit.

default: 10

Response

Paginated response of teams.

nextPageToken
string

pageToken to provide for the next page of results.

teams
organization.Team[]

found list of teams.

Hide child attributesShow child attributes
teams.applications
organization.TeamApplication[]

The applications that belong to this Team.

Hide child attributesShow child attributes
teams.applications.applicationId
string
teams.applications.applicationName
string
teams.applications.environments
string[]
teams.applications.lastScanTimestamp
integer<int64>
teams.id
string

The UUID identifier of this team.

teams.name
string

The name of this team.

teams.organizationId
string

The StackHawk organization that owns this Team.

teams.users
organization.TeamUser[]

The users that are members of this Team.

Hide child attributesShow child attributes
teams.users.email
string
teams.users.role
string
teams.users.userId
string
teams.users.userName
string
totalCount
integer<int64>

total number of results.

nextPageToken
string

pageToken to provide for the next page of results.

teams
organization.Team[]

found list of teams.

Hide child attributesShow child attributes
teams.applications
organization.TeamApplication[]

The applications that belong to this Team.

Hide child attributesShow child attributes
teams.applications.applicationId
string
teams.applications.applicationName
string
teams.applications.environments
string[]
teams.applications.lastScanTimestamp
integer<int64>
teams.id
string

The UUID identifier of this team.

teams.name
string

The name of this team.

teams.organizationId
string

The StackHawk organization that owns this Team.

teams.users
organization.TeamUser[]

The users that are members of this Team.

Hide child attributesShow child attributes
teams.users.email
string
teams.users.role
string
teams.users.userId
string
teams.users.userName
string
totalCount
integer<int64>

total number of results.

Unauthorized

Your privacy settings

We use first and third party cookies to ensure that we give you the best experience on our website and in our products.