slackApiDoc icon indicating copy to clipboard operation
slackApiDoc copied to clipboard

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

Open kvinsmart opened this issue 4 years ago • 1 comments

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

kvinsmart avatar Apr 29 '20 14:04 kvinsmart

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

onix avatar Dec 11 '22 22:12 onix