Developers
Build bots, integrations, and extensions.
cURL
curl --request PUT \ --url https://api.magne.app/v1/servers/{serverId}/bans/{userId} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "reason": "<string>" } '
{ "error": "<string>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Success