Scope for Leave guild (Got 401 error) #7257
Unanswered
ralphilius
asked this question in
API Feature Requests & Ideas
Replies: 1 comment
-
this endpoint, like most documented api endpoints, is only for bots. the oauth2 page lists which endpoints each scope grants access to. you cannot automate a user account leaving a guild. if it is your own guild, you can kick them using a bot token instead. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I'm experiencing a 401 Unauthorized error when trying to use the
DELETE /users/@me/guilds/:guild_id
endpoint to have a user leave a guild.Here are the details:
Is there an additional scope or permission required specifically for a user to leave a guild? Or could there be another reason for the 401 error in this case?
Thanks in advance for any help!
Beta Was this translation helpful? Give feedback.
All reactions