Skip to main content
GET
/
group-bindings
Get group bindings
curl --request GET \
  --url https://api.opal.dev/v1/group-bindings \
  --header 'Authorization: Bearer <token>'
{
  "next": "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
  "previous": "cj1sZXdwd2VycWtJ",
  "results": [
    {
      "group_binding_id": "f454d283-ca87-4a8a-bdbb-df212eca5353",
      "created_by_id": "99d0b81d-14be-4cf6-bd27-348b4af1d11b",
      "created_at": "2022-01-23T04:56:07.000Z",
      "source_group_id": "f454d283-ca87-4a8a-bdbb-df212eca5353",
      "groups": [
        {
          "group_id": "f454d283-ca87-4a8a-bdbb-df212eca5353",
          "group_type": "OKTA_GROUP"
        },
        {
          "group_id": "99d0b81d-14be-4cf6-bd27-348b4af1d11b",
          "group_type": "AWS_SSO_GROUP"
        }
      ]
    },
    {
      "group_binding_id": "99d0b81d-14be-4cf6-bd27-348b4af1d11b",
      "created_by_id": "99d0b81d-14be-4cf6-bd27-348b4af1d11b",
      "source_group_id": "99d0b81d-14be-4cf6-bd27-348b4af1d11b",
      "created_at": "2022-01-23T04:56:07.000Z",
      "groups": [
        {
          "group_id": "99d0b81d-14be-4cf6-bd27-348b4af1d11b",
          "group_type": "AWS_SSO_GROUP"
        },
        {
          "group_id": "f454d283-ca87-4a8a-bdbb-df212eca5353",
          "group_type": "OKTA_GROUP"
        }
      ]
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

cursor
string

The pagination cursor value.

page_size
integer

Number of results to return per page. Default is 200.

Required range: x <= 1000

Response

200 - application/json

One page worth of group bindings for your organization.

results
object[]
required
next
string | null

The cursor with which to continue pagination if additional result pages exist.

Example:

"cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw"

previous
string | null

The cursor used to obtain the current result page.

Example:

"cj1sZXdwd2VycWtJ"