How to delete/disable user through slack API?

后端 未结 3 742
一向
一向 2021-01-13 19:10

I have tried multiple approaches to this. Tried first getting the user without any user id - this returns me just my user, then tried getting user with other id\'s and it al

3条回答
  •  失恋的感觉
    2021-01-13 19:33

    The users.profile.set apparently does not work for for setting each and every property of a user.

    To set the deleted property there is another API method called users.admin.setInactive. Its an undocumented method and it will only work on paid teams.

提交回复
热议问题