Saltar al contenido principal
PATCH
Update a target

Parámetros de ruta

id
string
requerido

The id of the resource

Cuerpo

application/json
scanSchedule
enum<string>
requerido
Opciones disponibles:
disabled,
0 0 * * *,
0 0 */3 * *,
0 0 * * 0,
0 0 */14 * *,
0 0 1 * *

Respuesta

200 - application/json
id
string
requerido
createdAt
string<date-time>
requerido
updatedAt
string<date-time>
requerido
value
string
requerido

The target value (domain, IP address, or CIDR notation)

Ejemplo:

"example.com"

type
enum<string>
requerido

The type of target (DOMAIN, CIDR, or IP)

Opciones disponibles:
DOMAIN,
CIDR,
IP,
GIT_ORG
Ejemplo:

"DOMAIN"

lastDiscoveredAt
string<date-time>
requerido
totalAssetServices
number
requerido
status
enum<string>
requerido
Opciones disponibles:
pending,
in_progress,
completed,
failed,
cancelled,
skipped
scanSchedule
enum<string>
requerido
Opciones disponibles:
disabled,
0 0 * * *,
0 0 */3 * *,
0 0 * * 0,
0 0 */14 * *,
0 0 1 * *