EdgeCore version: 4.3.0
Method
PATCH /public/roles/{roleName}/domainPermissions
Used to specify which domains the given role can manage.
Parameters
Name | Type | Description | Mandatory |
roleName |
string | Name of the role for which you want to add domain permissions | Yes |
domains[] |
Array of strings | Domain the given role will be able to manage
Possible values: b) <AllDomains> c) The name of any existing domain. |
Yes |
cURL example
curl --location --request PATCH 'http://localhost:8080/public/roles/Editor/domainPermissions' \ --header 'edgeApiKey: YWRtaW5AZGVmYXVsdHx3IDNHe2tMZTYhMkZkO3J3cipDaSZUdio5' \ --form 'domains[]=MyDomain'
Example Response
[ "<MyDomain>" ]
HTTP Response
Code | Status | Description |
200 | OK | The request has succeeded. |