Skip to main content
PUT
/
api
/
channel
Update Channel
curl --request PUT \
  --url https://api.ldx.dev/api/channel \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": 123,
  "name": "<string>",
  "type": 123,
  "status": 123,
  "models": "<string>",
  "groups": "<string>",
  "priority": 123,
  "weight": 123,
  "base_url": "<string>",
  "tag": "<string>"
}
'

Documentation Index

Fetch the complete documentation index at: https://docs.liandanxia.io/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
id
integer
name
string
type
integer
status
integer
models
string
groups
string
priority
integer
weight
integer
base_url
string
tag
string

Response

200

Success