List team members by type

Returns a paginated list of team members of the specified type

get
http://authorization-pap-api.kauth.svc.cluster.local:8000/v1/teams/{teamId}/{principalType}

Path Parameters

teamIdstring(uuid)required

Contains a unique identifier used for a team

Example:5f9fd312-a987-4628-b4c5-bb4f4fddd5f7

principalTypestringrequired

Principal types that can be team members

Allowed values:userssystem-accounts

Response

application/json

Successful response

PagedTeamMemberResponse

metaobjectrequired

returns the pagination information

Show Child Parameters
dataarray[object]required

A member of a team, which can be a user or system account or portal developer

Show Child Parameters
get/teams/{teamId}/{principalType}
 
application/json

List team memberships for principal

Returns a paginated list of teams the principal is a member of

get
http://authorization-pap-api.kauth.svc.cluster.local:8000/v1/{principalType}/{principalId}/team-memberships

Path Parameters

principalTypestringrequired

Individual principal types (users, system-accounts, portal-developers)

Allowed values:userssystem-accountsportal-developers

principalIdstring(uuid)required

Contains a unique identifier used for a principal (user, system account, portal developer, etc.)

Example:5f9fd312-a987-4628-b4c5-bb4f4fddd5f7

Response

200 application/json

Successful response

PagedTeamMembershipResponse

metaobjectrequired

returns the pagination information

Show Child Parameters
dataarray[object]required

Record denoting a subject’s membership in a team

Show Child Parameters
get/{principalType}/{principalId}/team-memberships
 
200 application/json

Add principal to team

Creates a team membership for the principal (only supported for users)

post
http://authorization-pap-api.kauth.svc.cluster.local:8000/v1/{principalType}/{principalId}/team-memberships

Path Parameters

principalTypestringrequired

Individual principal types (users, system-accounts, portal-developers)

Allowed values:userssystem-accountsportal-developers

principalIdstring(uuid)required

Contains a unique identifier used for a principal (user, system account, portal developer, etc.)

Example:5f9fd312-a987-4628-b4c5-bb4f4fddd5f7

Body

application/json

CreateTeamMembershipRequest

Request body for creating a team membership

team_idstringrequired

Team identifier

team_membership_identifierstring

identifier for the team that is being referenced (i.e. accounts#OrganizationAdmin)

Response

Team membership created successfully

post/{principalType}/{principalId}/team-memberships

Body

{ "team_id": "team_id" }
 

Remove principal from team

Removes the principal from a team

delete
http://authorization-pap-api.kauth.svc.cluster.local:8000/v1/{principalType}/{principalId}/team-memberships/{teamId}

Path Parameters

principalTypestringrequired

Individual principal types (users, system-accounts, portal-developers)

Allowed values:userssystem-accountsportal-developers

principalIdstring(uuid)required

Contains a unique identifier used for a principal (user, system account, portal developer, etc.)

Example:5f9fd312-a987-4628-b4c5-bb4f4fddd5f7

teamIdstring(uuid)required

Contains a unique identifier used for a team

Example:5f9fd312-a987-4628-b4c5-bb4f4fddd5f7

Response

Team membership removed successfully

delete/{principalType}/{principalId}/team-memberships/{teamId}
 

Portal Teams

Operations for managing portal teams