Hi,
I am getting a constant 403 error while trying to POST a user role permissions JSON using the Add Multiple Resource Permissions for Resource API.
I already have a custom role created, for example, 'team1'.
I then use the exact same role permissions JSON payload I received when I performed a GET /userroles/team1/permissions call.
But it constantly gives me a 403.
The idea was, we would template the complete custom role permissions definition and use it to autocreate roles when required through an internal self-service process.
But at the moment, it doesn't work. I have tried removing the "organization" key:value entries from the JSON payload, trying to mimick the example in the API definition online but it still doesn't work.
I am using my Org Admin account so there shouldn't be a permission issue.
Any advice would be appriciated. Attached is the example JSON payload I'm trying.