如何将身份服务器与Slack集成在一起以及如何创建新的Slack工作空间
我使用Identity Server 4(.NET)实现我的用户系统。我的要求是,当创建新用户时,我需要在Slack中创建一个工作区(如果不是),并在Slack中使用相同的电子邮件创建一个新用户,然后将此用户添加到此工作空间中。
因此,我的问题
- 无论如何都存在或类似API以迁移/创建用户进入Slack?
- 无论如何,是否可以创建一个新的工作空间而没有进入Slack网站?
非常感谢您阅读我的问题。
I have my user system implemented with Identity Server 4 (.NET). My requirement is when a new user was created, I need to create a Workspace (if not) and a new user with the same email in Slack and add this user into this workspace.
So my questions is
- Is there anyway or something like API to migrate/create user into Slack ?
- Is there anyway to create a new Work-Space without come into Slack Website ?
Thank very much for reading my question.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这里有两个不同的工作流程。一个是创建用户,您可以使用 scim api 业务+或企业网格计划。
您要做的另一件事是创建一个工作区。为此,您需要使用admin API方法
admin.teams。创建
。使用此需要一个企业网格计划,因为您只能使用API来创建工作区 您控制的网格。您不能使用API在网格之外创建全新的工作区。You've two distinct workflows here. One is creating a user, which you can do with the SCIM API, assuming you're on a Business+ or Enterprise Grid plan.
The other thing you want to do is create a Workspace. For this, you'd need to use the Admin API method
admin.teams.create
. Using this requires a Enterprise Grid plan, because you can only use the API to create workspaces inside a Grid you control. You can't create completely new workspaces outside of a grid using an API.