Create or modify site scan schedule

This operation enables you to create a new scan schedule if no scan schedule exists for the site, or to replace the site's existing scan schedule if one already exists.

Path Params
int32
required

Site ID.

Query Params
string
enum
Defaults to xml

The response representation format for results.

Allowed:
Body Params

Holds the information to updated site's scan schedule.

string
required

Name desired for the scan schedule. EXAMPLE: 'My Custom Schedule'. When adding a continuous schedule, the name must also be 'continuous'.

string

The timezone desired for when the site will be scanned. EXAMPLE: America/New_York

specs
array of objects

Scan schedule specification.

specs
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

400

BadRequestResponse indicates a request with invalid parameters.

401

UnauthorizedResponse signals an unauthorized API access.

403

ForbiddenResponse signals a request for a resource that does not exist or is not authorized.

500

GenericError generic error.

Language
Response
Choose an example:
application/json
application/xml