Set Permission For Vault Group
1 min
POST
{{url}}/aioc-rest-web/rest/sc/sapm/setPermissionForGroup
urlstring
Content-Typestring
X-XSRF-TOKENstring
bodyobject
200Set Permission For Vault Group
curl --request POST \
--url {{url}}/aioc-rest-web/rest/sc/sapm/setPermissionForGroup \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--header 'x-xsrf-token: {{csrftoken}}' \
--data '"{\n \"dbId\": 464347,\n \"newPermission\": [\n {\n \"id\": \"c1ea6623-5951-4d11-bafa-302d858e129b\",\n \"permission\": \"FULL_CONTROL\",\n \"type\": \"USER_GROUP\"\n },\n {\n \"id\": \"128829d6-63f4-4679-a0a7-d3b9cfc165cc\",\n \"permission\": \"FULL_CONTROL\",\n \"type\": \"USER_GROUP\"\n }\n ],\n \"applyType\": \"ONE_LEVEL\"\n}"'