Hello Daniil,

Please check out the give format here?

https://ranger.apache.org/apidocs/resource_PublicAPIsv2.html

Thanks,
Ramesh

On Mon, Aug 17, 2020 at 10:31 AM Daniil Sabadash <dan...@sabadash.su> wrote:

> Hello.
> I'm trying to add users to the role via API. Can you please send me what
> the PUT request body should look like for the call?
> PUT
> <https://ranger.apache.org/apidocs/ui/index.html#!/PublicAPIsv2/addUsersAndGroups>
>  /public/v2/api/roles/{id}/addUsersAndGroups
> <https://ranger.apache.org/apidocs/ui/index.html#!/PublicAPIsv2/addUsersAndGroups>
>
> Unfortunately I can't find any clues on the internet. I've tried a lot of
> variants of the body, but still getting 404.
> Making a GET call to the service/public/v2/api/roles/{id} returns a valid
> response. I'm also able to add users to if via Ranger UI. So the service in
> general and the role itself are fine.
>
> --
> Thank you, Daniil.
>

Reply via email to