Heroku API:将合作者添加到应用程序中,并设置其部署,操作和管理的权限
我正在使用 heroku的平台API 创建应用程序,我正在将协作者添加到通过调用 collaborator create 电子邮件。
它有效,但问题是我无法直接通过API呼叫设置合作者的特权,合作者只是在应用程序上具有view
权限,但我也希望他拥有exploye 和
操作
。
我尝试发送额外的参数,但Heroku拒绝并返回422。
这是API的限制吗?还有其他选择吗?
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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
没关系,使用 nofollow noreferrer“> team collaborator create
Nevermind, use the Team COllaborator Create