ErikKalkoken / slackApiDoc

Documentation of undocumented Slack API methods
MIT License
409 stars 60 forks source link

use users.admin.setRestricted or setUltraRestricted like users.admin.invite #64

Open kvinsmart opened 4 years ago

kvinsmart commented 4 years ago

I tried to use the "users.admin.setRestricted" or "setUltraRestricted" method as you explained with the "users.admin.invite", but I get the error: Content : {"ok":false,"error":"not_allowed_token_type"} I use the same token. I am looking for the ability to change account types while avoiding the Slack Admin Interface. Do you have any ideas on this? Thanks! BR Kostia

onix commented 1 year ago

Mine users.admin.setUltraRestricted works with bearer xoxc-** and Cookie d=xoxd-**, where cookie is grabbed via browser auth session.