Skip to main content

Documentation Index

Fetch the complete documentation index at: https://api.docs.onlydrams.app/llms.txt

Use this file to discover all available pages before exploring further.

Updates the details of an existing infinity bottle.

Authentication

Requires a valid access token.

URL Parameters

id
string
required
The ID of the user who owns the infinity bottle.
bottle_id
string
required
The ID of the infinity bottle to update.

Request Body

infinity_bottle
object
required

Returns

Returns updated infinity bottle details.
curl -X PATCH https://api.onlydrams.app/api/v1/users/123/infinity_bottles/456 \
     -H "Content-Type: application/json" \
     -H "Authorization: Bearer $ACCESS_TOKEN" \
     -d '{
       "infinity_bottle": {
         "name": "Updated Name"
       }
     }'
{
  "name": "Updated Name"
}