API v2: User Directory - Group Mapping - Assigning External Authentication πΒΆ
Data StructuresΒΆ
Attribute |
Type |
Required |
Description |
|---|---|---|---|
|
string |
Read-only, protected, unique object identifier. |
|
|
string |
yes |
Immutable. Uniqueness is required in the combination of attribute |
|
string |
yes |
Uniqueness is required in the combination of attribute |
|
number |
Uniqueness is required in the combination of attribute |
|
|
string |
Read-only. Expensive to use. |
|
|
string |
Read-only. Expensive to use. |
|
|
string |
Read-only. Expensive to use. |
|
|
string |
Read-only. Expensive to use. |
|
|
string |
Read-only. Expensive to use. |
|
|
string |
Read-only. Expensive to use. |
|
|
number |
Read-only. Expensive to use. |
|
|
string |
Read-only. Expensive to use. |
|
|
string |
Read-only. Expensive to use. |
|
|
datetime |
Read-only. Timestamp of creation. |
|
|
datetime |
Read-only. Timestamp of modification. |
|
|
boolean |
Read-only. |
Retrieve Available Attributes of the UserDirectoryGroupAuthenticationModelΒΆ
Request
Method |
|
Path |
|
To check allowed methods, available URL parameters and possible responses please refer to the API Overview section.
Get External Authentication Assigned via Group MappingΒΆ
Request
Method |
|
Path |
|
GET /api/v2/user_directory_group/external_authentication
Example Request
curl -s -k -X GET \
-H 'Authorization: sgfeea6jsaz4mum9su8w61877n1g06sk' \
'https://10.0.214.98/api/v2/user_directory_group/external_authentication'
Response
{
"result": "success",
"user_directory_group_authentication": [
{
"user_directory_group_id": "5683542729741565954",
"external_authentication_id": "5683542729741565953",
"position": 0,
"user_directory_id": "5683542729741565954",
"user_directory_name": "active-directory-10.0.242.80 [domain: example.com]",
"user_directory_type": "AD",
"external_authentication_name": "AD",
"external_authentication_type": "ad",
"user_directory_group_path": "CN=Guests,CN=Builtin,DC=example,DC=com",
"user_directory_group_guid": "5683542729741565958",
"created_at": "2025-06-05 08:50:54.599141-07",
"modified_at": "2025-06-05 08:50:54.615507-07"
},
{
"user_directory_group_id": "5683542729741565953",
"external_authentication_id": "5683542729741565954",
"position": 0,
"user_directory_id": "5683542729741565954",
"user_directory_name": "active-directory-10.0.242.80 [domain: example.com]",
"user_directory_type": "AD",
"external_authentication_name": "LDAP",
"external_authentication_type": "ldap",
"external_authentication_address": "10.0.136.1",
"external_authentication_port": 389,
"user_directory_group_path": "CN=Users,CN=Builtin,DC=example,DC=com",
"user_directory_group_guid": "\\CC\\04\\58\\2C\\BB\\9B\\E5\\46\\A0\\B1\\D0\\E3\\02\\71\\BC\\0E",
"created_at": "2025-06-05 08:29:19.462607-07",
"modified_at": "2025-06-05 08:51:05.932288-07"
}
]
}
Get External Authentication Assigned via a Specific Group MappingΒΆ
Request
Method |
|
Path |
|
GET /api/v2/user_directory_group/<user_directory_group_id>/ external_authentication
Example Request
curl -s -k -X GET \
-H 'Authorization: sgfeea6jsaz4mum9su8w61877n1g06sk' \
'https://10.0.214.98/api/v2/user_directory_group/5683542729741565953/external_authentication'
Response
{
"result": "success",
"user_directory_group_authentication": [
{
"user_directory_group_id": "5683542729741565953",
"external_authentication_id": "5683542729741565954",
"position": 0,
"user_directory_id": "5683542729741565954",
"user_directory_name": "active-directory-10.0.242.80 [domain: example.com]",
"user_directory_type": "AD",
"external_authentication_name": "LDAP",
"external_authentication_type": "ldap",
"external_authentication_address": "10.0.136.1",
"external_authentication_port": 389,
"user_directory_group_path": "CN=Users,CN=Builtin,DC=example,DC=com",
"user_directory_group_guid": "\\CC\\04\\58\\2C\\BB\\9B\\E5\\46\\A0\\B1\\D0\\E3\\02\\71\\BC\\0E",
"created_at": "2025-06-05 08:29:19.462607-07",
"modified_at": "2025-06-05 08:51:05.932288-07"
}
]
}
Get Assigned External Authentication by Group Mapping ID and External Authentication IDΒΆ
Request
Method |
|
Path |
|
GET /api/v2/user_directory_group/<user_directory_group_id>/ external_authentication/<external_authentication_id>
Example Request
curl -s -k -X GET \
-H 'Authorization: sgfeea6jsaz4mum9su8w61877n1g06sk' \
'https://10.0.214.98/api/v2/user_directory_group/5683542729741565953/external_authentication/5683542729741565954'
Response
{
"result": "success",
"user_directory_group_authentication": [
{
"user_directory_group_id": "5683542729741565953",
"external_authentication_id": "5683542729741565954",
"position": 0,
"user_directory_id": "5683542729741565954",
"user_directory_name": "active-directory-10.0.242.80 [domain: example.com]",
"user_directory_type": "AD",
"external_authentication_name": "LDAP",
"external_authentication_type": "ldap",
"external_authentication_address": "10.0.136.1",
"external_authentication_port": 389,
"user_directory_group_path": "CN=Users,CN=Builtin,DC=example,DC=com",
"user_directory_group_guid": "\\CC\\04\\58\\2C\\BB\\9B\\E5\\46\\A0\\B1\\D0\\E3\\02\\71\\BC\\0E",
"created_at": "2025-06-05 08:29:19.462607-07",
"modified_at": "2025-06-05 08:51:05.932288-07"
}
]
}
Define External Authentication Assigned via Group MappingΒΆ
Request
Method |
|
Path |
|
Headers |
|
Body |
|
POST /api/v2/user_directory_group/<user_directory_group_id>/ external_authentication
Example Request
curl -s -k -X POST \
-H 'Authorization:sgfeea6jsaz4mum9su8w61877n1g06sk' \
-H 'Content-Type: application/json' \
https://10.31.96.188/api/v2/user_directory_group/5683542729741565954/external_authentication \
-d'{"external_authentication_id":"5683542729741565953"}'
Response
{
"result": "success"
}
Delete External Authentication Assigned via Group MappingΒΆ
Request
Method |
|
Path |
|
DELETE /api/v2/user_directory_group/<user_directory_group_id>/ external_authentication/<external_authentication_id>
Example Request
curl -s -k -X DELETE \
-H 'Authorization:sgfeea6jsaz4mum9su8w61877n1g06sk' \
https://10.31.96.188/api/v2/user_directory_group/5683542729741565954/external_authentication/5683542729741565953
Response
{
"result": "success"
}