Forums
I'm trying to update all the roles such as adding and removing a few of them with one API call. I tried:
PUT /api/packages/{packageId}/roles
... but I get "500 Internal Server Error". I also tried to simply update the package with only the roles attribute filled when making the API call to PUT /api/packages/{packageId}
... I don't get any errors but the roles have not been updated.
My guess is that I need to have an API call for each add/remove that I need to do. Is that my only option? Thanks.- Read more about Bulk add/remove roles using the REST API
- 1 comment
- Log in or register to post comments
- 57 views