Skip to main content
PUT
Update a scan or its schedule

Authorizations

better-auth.session_token
string
cookie
required

Browser session cookie set by Better Auth sign-in.

Path Parameters

id
string
required

Body

application/json
metadata
object
updatedAt
any
name
string
Minimum string length: 1
target
string
Minimum string length: 1
scanType
enum<string>
Available options:
recon,
monitoring,
email-digest
scheduleType
enum<string>
Available options:
now,
once,
recurring
workflowSteps
object[]
runAt
any
cron
string
recurringInterval
enum<string>
Available options:
daily,
weekly,
monthly,
every_n_days,
custom
intervalDays
integer
Required range: x <= 9007199254740991

Response

The updated scan or schedule.