EdgeCore version: 4.3.0
Method
PATCH /public/roles/{roleName}/securityPermissions
Used to add security permissions to a role in EdgeCore.
Parameters
Name | Type | Description | Mandatory |
roleName |
string | Name of the role for which you want to add permissions | Yes |
perms[] |
Array of strings | A list of permissions you want to add | Yes |
cURL example
x
curl --location --request PATCH 'http://localhost:8080/public/roles/Editor/securityPermissions' \
--header 'edgeApiKey: YWRtaW5AZGVmYXVsdHx3IDNHe2tMZTYhMkZkO3J3cipDaSZUdio5' \
--form 'perms[]=permission.pipeline' \
--form 'perms[]=permission.content' \
--form 'perms[]=permission.provisioning.content'
Example Response
[ "permission.provisioning.content", "permission.pipeline", "permission.content" ]
HTTP Response
Code | Status | Description |
200 | OK | The request has succeeded. |