Lift a ban

​

Removes a ban. Idempotent. Lifting a ban does not restore any prior state — it simply allows the user to connect and publish again, subject to your channel config's normal authorization.

Path Parameters

  • The channel id. Channels are not created explicitly — they exist by being used.

  • A user id (the sub you minted the token with, or an id you add as a member).

Responses

  • application/json
  • application/json
  • application/json
Request Example for delete/v1/channels/{channelId}/bans/{userId}
curl https://api.useportal.co/v1/channels/chat-general/bans/u_456 \
  --request DELETE \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{}