Heroku API: Add collaborator to app and set his permissions to Deploy, Operate and Manage

188 Views Asked by At

I am using Heroku's Platform API to create apps and I am adding collaborators to the app by calling Collaborator Create, passing the app name and collaborator's email.

It works but the issue is that I can't set the collaborator's privileges directly through the API call, the collaborator just has View permissions on the app but I also want him to have Deploy and Operate.

I tried sending extra parameters but Heroku rejects and returns 422.

Is this a limitation of the API? Is there an alternative?

1

There are 1 best solutions below

0
On BEST ANSWER

Nevermind, use the Team COllaborator Create