如何将身份服务器与Slack集成在一起以及如何创建新的Slack工作空间

发布于 2025-02-12 20:48:56 字数 248 浏览 2 评论 0原文

我使用Identity Server 4(.NET)实现我的用户系统。我的要求是,当创建新用户时,我需要在Slack中创建一个工作区(如果不是),并在Slack中使用相同的电子邮件创建一个新用户,然后将此用户添加到此工作空间中。

因此,我的问题

  1. 无论如何都存在或类似API以迁移/创建用户进入Slack?
  2. 无论如何,是否可以创建一个新的工作空间而没有进入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

  1. Is there anyway or something like API to migrate/create user into Slack ?
  2. Is there anyway to create a new Work-Space without come into Slack Website ?

Thank very much for reading my question.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

蓝眸 2025-02-19 20:48:56

这里有两个不同的工作流程。一个是创建用户,您可以使用 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文