WuKongIM Docs

Replace Channel allowlist members

Operation boundary

  • Caller: Protected operator boundary only
  • Scope: The allowlist uses full-replacement semantics.
  • Atomicity: The list is removed and then inserted; the two stages are not transactional.

Deprecated

POST/channel/whitelist_set

Removes the old list before adding supplied values; only channel_id is validated at entry.

Request Body

application/json

Complete allowlist or denylist snapshot to write.

TypeScript Definitions

Use the request body type in TypeScript.

Complete allowlist or denylist replacement parameters with legacy weak validation.

Response Body

application/json

application/json

application/json

{  "status": 200}