I created a custom role for developer (read and write) in the GUI.
I found out later that I can't assign to the role the ability to
add/update KVM
add/update shared flows
(possibly add/update hooks)
I attempted the next script.
curl -X POST \ https://api.enterprise.apigee.com/v1/o/{{MY_ORG}}/userroles/{{MY_CUSTOM_ROLE}}/permissions \ -H 'Accept: application/json' \ -H 'Authorization: Basic {{M
Y_BASE_64_ORG_USER_AND_PASSWORD}}' \ -H 'Content-Type: application/json' \ -H 'Postman-Token: b4c5aab1-b293-4a4c-9780-46b98e919e03' \ -H 'cache-control: no-cache' \ -d '{ "path" : "/environments/dev/key-value-maps", "permissions" : ["put", "get"] }'
and it says 201 created.
but when logging in with a user with that role i still dont see add edit buttons. (I also tried the wildcard /key-value-maps/* )