No Results
Map Roles for LDAP Domain

EdgeCore version: 4.3.2

Method

PATCH /public/domains/{domainName}/maproles

Used to map roles to groups.

Parameters

Name Type Description Mandatory
domainName
string Name of the domain Yes
roleMapping[]
array of strings Groups and roles you want to map

Format: Group,Role

Yes

 

cURL example

curl --location --request PATCH 'http://localhost:8080/public/domains/TESTDOMAIN/maproles' \
--header 'edgeApiKey: YWRtaW5AZGVmYXVsdHx3IDNHe2tMZTYhMkZkO3J3cipDaSZUdio5' \
--form 'roleMapping[]=Monitoring Engineering,Full Admin' \
--form 'roleMapping[]=Enterprise Admins,Editor' 

Example Response

[
    {role: Monitoring Engineering, parentRole: Full Admin}
    {role: Enterprise Admins, parentRole: Editor}

]

HTTP Response

Code Status Description
201 Created The request has succeeded and a new resource has been created as a result.
500 Internal Server Error LDAP is not reachable.

Terms | Privacy