IMembers

v1 stable

/api/bot/IMembers/v1/

Manage space members: kick users from channels.

e85612a0075706b6… SHA-256 contract hash — guaranteed stable

Authentication required

All endpoints require Authorization: Bot <token> header. Get a token →

POST /api/bot/IMembers/v1/Kick KickMembers

Kicks a user from a channel. Pass spaceId, channelId, and userId as query parameters.

Response KickResponse

Field Type
kicked boolean

Errors

Status Code Description
400 kick_failed Failed to kick user — they may not be in the channel.
403 not_a_member Bot is not a member of this space.

Example

$ curl -X POST \
     -H "Authorization: Bot YOUR_TOKEN" \
     https://api.argon.gl/api/bot/IMembers/v1/Kick