PATCH
/
api
/
agents
/
{agentId}
/
rooms
/
{roomId}
Update a room
curl --request PATCH \
  --url http://localhost:3000/api/agents/{agentId}/rooms/{roomId} \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>"
}'
{
  "success": true,
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "name": "<string>",
    "source": "<string>",
    "worldId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "entities": [
      {
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "name": "<string>"
      }
    ]
  }
}

Path Parameters

agentId
string
required

ID of the agent

roomId
string
required

ID of the room to update

Body

application/json

Response

200
application/json

Room updated successfully

The response is of type object.