Skip to content

GetIntegrationRole

GET/api/v1/integrations/{integration}/roles/{role}
curl \
-H "Authorization: Bearer ${OBLIQUE_API_KEY}" \
"https://us.oblique.security/api/v1/integrations/{integration}/roles/{role}"

Set OBLIQUE_API_KEY to your API key.

  • namestringrequired

    Name of the role of the format integrations/{integration}/roles/{role}.

200IntegrationRole

An integration role is a known role within an integration, naming a level of access that can be granted on the integration’s resources.

  • namestring

    Assigned by Oblique.

  • displayNamestringread-only

    Human-readable name of the role, as the integration reports it.

  • descriptionstringread-only

    Human-readable description of the role, as the integration reports it. Not set if the integration doesn’t describe its roles.

  • createTimestring (date-time)read-only

    Create and update timestamps.

  • updateTimestring (date-time)read-only
  • deleteTimestring (date-time)read-only

    The time when the role was deleted.

  • idstringread-only

    The identifier the integration uses for this role. Unique within the integration for a set of resource kinds, but may overlap between integrations or even kinds of resources within the same integration. For example, a “GitHub Team ‘admin’” may have the same ID as a “GitHub Repo ‘admin’”.

  • resourceKindsstring[]read-only

    The kinds of resources this role applies to. For example, “cloudflare_user_group” or “cloudflare_resource_group”.

    This corresponds to the resource metadata oneof, as well as the top level “kind” string, which can be matched against these values.

  • accountCountinteger (int32)read-only

    The number of accounts that hold this role across the integration’s resources. An account granted the role on several resources is counted once, and an account matching no directory user is counted too.

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