No Results
Update Role Content

EdgeCore version: 4.3.0


PATCH /public/roles/{roleName}/content

Used to add additional pages to the role so that they appear in the system menu when the role is logged in.


Name Type Description Mandatory
string Name of the role for which you want to add permissions Yes
Array of strings Content path that will be added to existing role content Yes

cURL example

curl --location --request PATCH 'http://localhost:8080/public/roles/Editor/content' \
--header 'edgeApiKey: YWRtaW5AZGVmYXVsdHx3IDNHe2tMZTYhMkZkO3J3cipDaSZUdio5' \
--form 'content[]=/Content Menu/SubFolder/Charts' \
--form 'content[]=/System Menu/SubFolder/HeatMap' 

Example Response

    "/Content Menu/bb",
    "/Content Menu/SubFolder/HeatMap",
    "/Content Menu/SubFolder/Table",
    "/Content Menu/SubFolder/Charts"

HTTP Response

Code Status Description
200 OK The request has succeeded.


Terms | Privacy