Returns a list of LDAP groups.
Returns a list of LDAP groups that have been enabled through the kiteworks admin.
LDAP group name
LDAP group name. Search for results that contain the specified characters in this parameter.
LDAP group email.
LDAP group email.. Search for results that contain the specified characters in this parameter.
Sorting options
Offset
Limit
With parameters
Determines the detail level of the response body.
List of LDAP groups retrieved successfully.
LDAP group unique identifier
Display name of the LDAP group
LDAP group email address
LDAP group description
HATEOAS links associated with the entity
Total number of items available.
Maximum number of items returned per page.
Number of items skipped before the current page.
Request blocked by WAF
curl -X GET \
"https://{instance}.kiteworks.com/rest/ldapGroups" \
-H "Authorization: Bearer YOUR_TOKEN"import requests
url = "https://{instance}.kiteworks.com/rest/ldapGroups"
headers = {
"Authorization": "Bearer YOUR_TOKEN",
}
response = requests.get(url, headers=headers)
print(response.json())Create an LDAP group
Creates a new LDAP group by looking up the provided distinguished name (DN) in the directory. Returns 422 if the DN is invalid or not found.
If set to true, returns information about the newly created entity.
Determines the detail level of the response body.
LDAP distinguished name (DN)
LDAP group email address
LDAP group description
Indicates whether HATEOAS links should be included in the response
LDAP group created successfully.
LDAP group unique identifier
Display name of the LDAP group
LDAP group email address
LDAP group description
HATEOAS links associated with the entity
Unprocessable Content
Possible error codes: ERR_INPUT_REQUIRED, ERR_INPUT_INVALID_EMAIL
Error code
Error message
Request blocked by WAF
curl -X POST \
"https://{instance}.kiteworks.com/rest/ldapGroups" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"dn": "string",
"email": "string",
"description": "string",
"addLinks": true
}'import requests
url = "https://{instance}.kiteworks.com/rest/ldapGroups"
headers = {
"Authorization": "Bearer YOUR_TOKEN",
"Content-Type": "application/json",
}
payload = {
"dn": "string",
"email": "string",
"description": "string",
"addLinks": true
}
response = requests.post(url, headers=headers, json=payload)
print(response.json())Gets an LDAP group
Returns the details of the specified LDAP group, including its name, email address, and description.
ID of the LDAP group to be retrieved
LDAP group details retrieved successfully.
LDAP group unique identifier
Display name of the LDAP group
LDAP group email address
LDAP group description
HATEOAS links associated with the entity
Request blocked by WAF
curl -X GET \
"https://{instance}.kiteworks.com/rest/ldapGroups/:id" \
-H "Authorization: Bearer YOUR_TOKEN"import requests
id = "VALUE" # ID of the LDAP group to be retrieved
url = f"https://{{instance}}.kiteworks.com/rest/ldapGroups/{id}"
headers = {
"Authorization": "Bearer YOUR_TOKEN",
}
response = requests.get(url, headers=headers)
print(response.json())Updates an LDAP group
Updates the settings of the specified LDAP group.
ID of the LDAP to update
LDAP group email address
LDAP group description
Indicates whether HATEOAS links should be included in the response
LDAP group updated successfully.
LDAP group unique identifier
Display name of the LDAP group
LDAP group email address
LDAP group description
HATEOAS links associated with the entity
Forbidden
Possible error codes: ERR_ACCESS_USER
Error code
Error message
Request blocked by WAF
curl -X PUT \
"https://{instance}.kiteworks.com/rest/ldapGroups/:id" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"email": "string",
"description": "string",
"addLinks": true
}'import requests
id = "VALUE" # ID of the LDAP to update
url = f"https://{{instance}}.kiteworks.com/rest/ldapGroups/{id}"
headers = {
"Authorization": "Bearer YOUR_TOKEN",
"Content-Type": "application/json",
}
payload = {
"email": "string",
"description": "string",
"addLinks": true
}
response = requests.put(url, headers=headers, json=payload)
print(response.json())Deletes an LDAP group
Permanently deletes the specified LDAP group.
ID of the LDAP group to delete
LDAP group deleted successfully.
Forbidden
Possible error codes: ERR_ACCESS_USER
Error code
Error message
Request blocked by WAF
curl -X DELETE \
"https://{instance}.kiteworks.com/rest/ldapGroups/:id" \
-H "Authorization: Bearer YOUR_TOKEN"import requests
id = "VALUE" # ID of the LDAP group to delete
url = f"https://{{instance}}.kiteworks.com/rest/ldapGroups/{id}"
headers = {
"Authorization": "Bearer YOUR_TOKEN",
}
response = requests.delete(url, headers=headers)
print(response.json())