Lifebots symbol
Lifebots.cloud
OAuth 2.0 API
API Reference › Bots — Friends

Edit Friend Rights

PATCH/bots/{bot_id}/friends/{target}

Change what the friend may see and do. Send at least one field.

Scopebots:friends · older apps: write:bots

Usage

curl -X PATCH "https://api.lifebots.cloud/api/v1/bots/$BOT_ID/friends/$TARGET" \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "see_online": true,
    "see_on_map": false,
    "can_edit": false
  }'

Path parameters

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

Body (JSON)

NameTypeRequiredDescription
see_onlinebooleannoFriend can see when the bot is online.
see_on_mapbooleannoFriend can see the bot on the map.
can_editbooleannoFriend can edit the bot's objects.

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...