Skip to main content
PATCH
/
api
/
realtime
/
config
curl --request PATCH \
  --url https://api.example.com/api/realtime/config \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "retentionDays": 90
}
'
{
  "message": "Retention config updated successfully"
}

Documentation Index

Fetch the complete documentation index at: https://docs.insforge.dev/llms.txt

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

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
retentionDays
integer | null
required

Number of days messages are retained. Null means messages are kept indefinitely.

Required range: x >= 1
Example:

90

Response

Realtime configuration updated

message
string
required