Skip to content

GetTeamRoles

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

Fetch what the calling principal may do on a team.

Example request

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

Set OBLIQUE_API_KEY to your API key.

Path parameters

  • namestringrequired

Response

200TeamRoles
  • namestring

    Assigned by Oblique.

  • ownerbooleanread-only

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

Errors

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