Lifebots symbol
Lifebots.cloud
OAuth 2.0 API
API Reference › Bots — Group Moderation

Leave

POST/bots/{bot_id}/groups/{group_id}/leave

The bot leaves the group.

Act on any Second Life group the bot belongs to, whether or not the group is registered on LifeBots. Second Life enforces group powers: the bot needs the Invite, Eject or Assign Members ability, or the action has no effect. Group, role and avatar ids must be full UUIDs.

Usage

curl -X POST "https://api.lifebots.cloud/api/v1/bots/$BOT_ID/groups/$GROUP_ID/leave" \
  -H "Authorization: Bearer $ACCESS_TOKEN"

Path parameters

NameTypeDescription
bot_idUUIDThe bot's avatar UUID (agentId from GET /bots).
group_idUUIDGroup UUID.

Body

None — send an empty body.

Example response

{
  "success": true,
  "data": {
    "result": "OK"
  },
  "meta": {
    "timestamp": "2026-10-02T12:00:00.000Z",
    "version": "1.0"
  }
}

Always check success; for commands the bot carries out, also check data.result. See Responses & errors.

Lifebots symbol
Lifebots.cloud

Empowering Second Life experiences with intelligent bot automation and seamless group management solutions.

Product
Support
Company
Visit Us

© 2025 - 2026 LifeBots. Made with ❤️. All rights reserved.

LifeBots is not affiliated with Linden Research, Inc., or any of its affiliated entities or products, including, without limitation, Second Life (collectively, “Linden Lab”).

Initializing A New World of Second Life Bots...