Skip to main content
PUT
cURL

Headers

X-CSRF-Token
string
required

Echoes the token from the current session. Required on every unsafe method.

Body

application/json
slug
string
required
displayName
string
required
subjectKind
enum<string>
required
Available options:
telegram_id,
email,
username
url
string
required
Pattern: ^https://
enabled
boolean
required
refreshIntervalSeconds
integer<int64>
required
Required range: x >= 300
authHeader
string | null

Omit or send null to keep the stored credential.

Response

Saved

id
string<uuid>
required
slug
string
required
displayName
string
required
subjectKind
enum<string>
required
Available options:
telegram_id,
email,
username
url
string
required
authConfigured
boolean
required
enabled
boolean
required
refreshIntervalSeconds
integer<int64>
required
entryCount
integer
required
status
enum<string>
required
Available options:
pending,
healthy,
failing
nextRefreshAt
string<date-time>
required
lastErrorCode
string
lastRefreshAt
string<date-time>