Skip to main content
PUT
/
group-bindings
cURL
curl --request PUT \
  --url https://api.opal.dev/v1/group-bindings \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "group_bindings": [
    {
      "group_binding_id": "f454d283-ca87-4a8a-bdbb-df212eca5353",
      "source_group_id": "f454d283-ca87-4a8a-bdbb-df212eca5353",
      "groups": [
        {
          "group_id": "f454d283-ca87-4a8a-bdbb-df212eca5353"
        },
        {
          "group_id": "99d0b81d-14be-4cf6-bd27-348b4af1d11b"
        }
      ]
    },
    {
      "group_binding_id": "99d0b81d-14be-4cf6-bd27-348b4af1d11b",
      "source_group_id": "99d0b81d-14be-4cf6-bd27-348b4af1d11b",
      "groups": [
        {
          "group_id": "99d0b81d-14be-4cf6-bd27-348b4af1d11b"
        },
        {
          "group_id": "f454d283-ca87-4a8a-bdbb-df212eca5353"
        }
      ]
    }
  ]
}'

Authorizations

Authorization
string
header
required

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

Body

application/json

Group bindings to be updated

group_bindings
object[]
required

A list of group bindings with information to update.

Response

200

The group bindings were successfully updated.