API Reference › Bots — Group Moderation
Profile & Notice Settings
PATCH
/bots/{bot_id}/groups/{group_id}/visibilityShow or hide the group in the bot's profile, and choose whether it receives notices.
Scopebots:groups
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 PATCH "https://api.lifebots.cloud/api/v1/bots/$BOT_ID/groups/$GROUP_ID/visibility" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"show_in_profile": true,
"accept_notices": true
}'Path parameters
| Name | Type | Description |
|---|---|---|
bot_id | UUID | The bot's avatar UUID (agentId from GET /bots). |
group_id | UUID | Group UUID. |
Body (JSON)
| Name | Type | Required | Description |
|---|---|---|---|
show_in_profile | boolean | yes | List the group in the bot's profile. |
accept_notices | boolean | no | Receive group notices. Omit to leave unchanged. |
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.