Skip to content

BatchGetGroups

GET/api/v1/groups:batchGet

Translate group names groups/{id} to a set of groups.

curl \
-H "Authorization: Bearer ${OBLIQUE_API_KEY}" \
"https://us.oblique.security/api/v1/groups:batchGet?names=string"

Set OBLIQUE_API_KEY to your API key.

  • namesstring[]required

    Names of the groups to fetch, each of the format groups/{group}.

200BatchGetGroupsResponse
  • groupsGroup[]

    All groups in the same order as the requested names.

    • namestring

      Assigned by Oblique. Name of the group of the form groups/{group}.

    • uristringread-only

      Link to the group’s page in the Oblique app, for example “https://us.oblique.security/groups/abc”.

    • createTimestring (date-time)read-only

      The time when this group was created.

    • updateTimestring (date-time)read-only

      The time when this object was last updated. This does not correspond to any membership changes of this group.

    • deleteTimestring (date-time)read-only

      Groups can only be soft-deleted to preserve logs and history. If this field is present, the group has been deleted and won’t be returned in lists, but can still be fetched by name.

    • displayNamestringrequired

      Human readable name of the group.

    • managementManagement

      How this group is managed. Set automatically by the server based on the calling client. Omitted from responses when the group is manually managed (the default).

      • managerstring
        Allowed values: TERRAFORM

        How the API object is managed. Set automatically by the server based on the caller: Terraform clients produce TERRAFORM; for all other clients the management field is left unset on the response.

      • repoUristring

        URI of the VCS repository that holds the Terraform configuration for this API object. Populated by the Oblique Terraform provider.

      • repoDirstring

        Optionally, the subdirectory within repo_uri that holds the Terraform configuration for this API object. Populated by the Oblique Terraform provider.

    • memberCountinteger (int32)read-only

      The number of members in the group.

    • One of

      • attributesAttributes

        Attributes defines attribute based selection of members of a group, matching users with a given set of attributes.

        • matchAttributeMatch[]required

          A set of and conditions that a user must match. The user’s attributes must match all values provided.

          • userAttributeUserAttributeMatchrequired

            A user attribute key and value that must be matched.

            • integrationstringrequired

              The integration that supplies the attribute to match on.

              Format: integrations/{integration}

            • keystringrequired
            • valuestringrequired
            • operatorstring
              Allowed values: EQUAL, NOT_EQUAL, CONTAINS, NOT_CONTAINS

              Comparison operator for the attribute. Defaults to EQUAL when unset.

    • usersstring[]read-only

      List of users that are members of this group. This is only populated for get or update requests, not during lists.

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