---
title: "PUT /sources/group_connections/ldap/{id}/"
method: PUT
path: "/sources/group_connections/ldap/{id}/"
tags: ["sources"]
---

# PUT /sources/group_connections/ldap/{id}/

`PUT /sources/group_connections/ldap/{id}/`

Group-source connection Viewset

## Path parameters

- `id` integer, required

## Request body

- GroupLDAPSourceConnectionRequest — Group Source Connection
  - `source` string, uuid, required
  - `identifier` string, required

## Response `200`

- GroupLDAPSourceConnection — Group Source Connection
  - `pk` integer, required
  - `group` string, uuid, required
  - `source` string, uuid, required
  - `source_obj` Source, required — Source Serializer
    - `pk` string, uuid, required
    - `name` string, required — Source's display Name.
    - `slug` string, required — Internal source name, used in URLs.
    - `enabled` boolean
    - `promoted` boolean — When enabled, this source will be displayed as a prominent button on the login page, instead of a small icon.
    - `authentication_flow` string, uuid, nullable — Flow to use when authenticating existing users.
    - `enrollment_flow` string, uuid, nullable — Flow to use when enrolling new users.
    - `user_property_mappings` string[]
    - `group_property_mappings` string[]
    - `component` string, required — Get object component so that we know how to edit the object
    - `verbose_name` string, required — Return object's verbose_name
    - `verbose_name_plural` string, required — Return object's plural verbose_name
    - `meta_model_name` string, required — Return internal model name
    - `policy_engine_mode` 'all' | 'any'
    - `user_matching_mode` 'identifier' | 'email_link' | 'email_deny' | 'username_link' | 'username_deny'
    - `managed` string, nullable, required — Objects that are managed by authentik. These objects are created and updated automatically. This flag only indicates that an object can be overwritten by migrations. You can still modify the objects via the API, but expect changes to be overwritten in a later update.
    - `user_path_template` string
    - `icon` string
    - `icon_url` string, nullable, required — Get the URL to the source icon
    - `icon_themed_urls` ThemedUrls, required — Themed URLs - maps theme names to URLs for light and dark themes
      - `light` string, nullable
      - `dark` string, nullable
  - `identifier` string, required
  - `created` string, date-time, required
  - `last_updated` string, date-time, required
  - `group_obj` PartialGroup, required — Partial Group Serializer, does not include child relations.
    - `pk` string, uuid, required
    - `num_pk` integer, required — Get a numerical, int32 ID for the group
    - `name` string, required
    - `is_superuser` boolean — Users added to this group will be superusers.
    - `attributes` object

## Other responses

- `400`
- `403`

---

[API](https://skmtc.dev/goauthentik/apis/authentik.md) · [All operations](https://skmtc.dev/goauthentik/apis/authentik/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/goauthentik/authentik/revisions/4e42e86021d7/schema)
