Add an LDAP group link with CN or filter
POST
/api/v4/groups/{id}/ldap_group_links
Adds an LDAP group link using a CN or filter.Adding a group link by filter is only supported in the Premium tier and above.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
cn
The CN of a LDAP group
string
filter
The LDAP filter for the group
string
group_access
required
Access level for members of the LDAP group
integer
provider
required
LDAP provider for the LDAP group link
string
member_role_id
The ID of the Member Role for members of the LDAP group
integer
Responses
Section titled “Responses”Created
Media typeapplication/json
object
cn
string
group_access
integer
provider
string
filter
string
member_role_id
integer format: int64
Example
{ "cn": "ldap-group-1", "group_access": 10, "provider": "ldapmain", "filter": "id >= 500", "member_role_id": 12}Validation error
Not found
Unprocessable entity