Create a restriction
POST/api/v1/guilds/:guildId/restrictions
Bars a user from using EasyPoll in a guild, either permanently or until expiresAt.
Required permission: MANAGE_GUILD_RESTRICTIONS
Request
Responses
- 201
- 400
- 401
- 403
- 404
- 429
Returns the created restriction
Bad Request
Unauthorized
Forbidden
Not Found
Too Many Requests