No Results
Add Domain Permissions

EdgeCore version: 4.3.0


PATCH /public/roles/{roleName}/domainPermissions

Used to specify which domains the given role can manage.


Name Type Description Mandatory
string Name of the role for which you want to add domain permissions Yes
Array of strings Domain the given role will be able to manage

Possible values:
a) <MyDomain>
In this case, any user with this particular role will be able to make changes within their own domain;

b) <AllDomains>
In this case, the user can make changes to every domain in the system or the name of any existing domain.

c) The name of any existing domain.



cURL example

curl --location --request PATCH 'http://localhost:8080/public/roles/Editor/domainPermissions' \
--header 'edgeApiKey: YWRtaW5AZGVmYXVsdHx3IDNHe2tMZTYhMkZkO3J3cipDaSZUdio5' \
--form 'domains[]=MyDomain'

Example Response


HTTP Response

Code Status Description
200 OK The request has succeeded.

Terms | Privacy