Skip to content

GetTeamRoles

GET/api/v1/teams/{team}/roles

Fetch what the calling principal may do on a team.

curl \
-H "Authorization: Bearer ${OBLIQUE_API_KEY}" \
"https://us.oblique.security/api/v1/teams/{team}/roles"

Set OBLIQUE_API_KEY to your API key.

  • namestringrequired

    Name of the team’s roles, of the format teams/{team}/roles.

200TeamRoles
  • namestring

    Assigned by Oblique. Name of the team’s roles, of the format teams/{team}/roles.

  • ownerbooleanread-only

    If the current user is an owner of the team, either directly or indirectly.

StatusMeaning
400Malformed request
401Missing or invalid API key
403Not allowed for this API key
404Not found
429Too many requests
500Internal server error