Skip to content

GetGroupRoles

GET/api/v1/groups/{group}/roles

Fetch what the calling principal may do on a group.

Example request

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

Set OBLIQUE_API_KEY to your API key.

Path parameters

  • namestringrequired

Response

200GroupRoles

GroupRoles is a singleton resource that allows the current user to determine the set of roles they have for a given group.

  • namestring

    Assigned by Oblique.

  • ownerbooleanread-only

    If the current user is an owner of the group, 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