---
title: "Changes to Set Scan Schedule"
method: POST
path: "/v1/scans/schedule"
---

# Changes to Set Scan Schedule

`POST /v1/scans/schedule`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 6 of 24 revisions.

- **2025-08-13** `c41cd7ae7718`: 18 info
- **2024-09-22** `407b73d9ce28`: 1 info
- **2024-04-19** `ba8a20839440`: 1 breaking, 8 info
- **2024-01-31** `4f557b176ebd`: 5 breaking, 6 warning, 4 info
- **2023-12-06** `35be9c1301b7`: 1 info
- **2023-12-05** `5c3748c387f7`: 6 breaking, 16 warning, 9 info

## Changes

- **2025-08-13** `c41cd7ae7718`: 18 info
  - added the optional property `code` to the response with the `400` status
  - added the optional property `code` to the response with the `401` status
  - added the optional property `code` to the response with the `500` status
  - added the optional property `error` to the response with the `400` status
  - added the optional property `error` to the response with the `401` status
  - added the optional property `error` to the response with the `500` status
  - added the optional property `error_id` to the response with the `400` status
  - added the optional property `error_id` to the response with the `401` status
  - added the optional property `error_id` to the response with the `500` status
  - added the optional property `kind` to the response with the `400` status
  - added the optional property `kind` to the response with the `401` status
  - added the optional property `kind` to the response with the `500` status
  - added the optional property `param` to the response with the `400` status
  - added the optional property `param` to the response with the `401` status
  - added the optional property `param` to the response with the `500` status
  - added the optional property `status` to the response with the `400` status
  - added the optional property `status` to the response with the `401` status
  - added the optional property `status` to the response with the `500` status
- **2024-09-22** `407b73d9ce28`: 1 info
  - added the new optional `header` request parameter `X-Team-Id`
- **2024-04-19** `ba8a20839440`: 1 breaking, 8 info
  - request property `scan_frequency` was restricted to a list of enum values
  - added the new optional request property `custom_weekdays`
  - added the new optional request property `hourly_frequency`
  - added the new optional request property `start_time`
  - added the new `custom` enum value to the request property `scan_frequency`
  - added the new `daily` enum value to the request property `scan_frequency`
  - added the new `hourly` enum value to the request property `scan_frequency`
  - added the new `monthly` enum value to the request property `scan_frequency`
  - added the new `weekly` enum value to the request property `scan_frequency`
- **2024-01-31** `4f557b176ebd`: 5 breaking, 6 warning, 4 info
  - the request property `scan_id` became required
  - removed the enum value `daily` of the request property `scan_frequency`
  - removed the enum value `monthly` of the request property `scan_frequency`
  - removed the enum value `weekly` of the request property `scan_frequency`
  - the `scan_frequency` request property type changed from no type to `string`
  - removed the request property `all`
  - removed the request property `assets`
  - removed the request property `private_templates`
  - removed the request property `recommended`
  - removed the request property `targets`
  - removed the request property `templates`
  - added the non-success response with the status `400`
  - the response property `message` became required for the status `200`
  - the response property `message` became required for the status `401`
  - the response property `message` became required for the status `500`
- **2023-12-06** `35be9c1301b7`: 1 info
  - api tag `scans` added
- **2023-12-05** `5c3748c387f7`: 6 breaking, 16 warning, 9 info
  - removed the enum value `custom` of the request property `scan_frequency`
  - removed the enum value `hourly` of the request property `scan_frequency`
  - the `scan_frequency` request property type changed from `string` to no type
  - the response property `message` became optional for the status `200`
  - the response property `message` became optional for the status `401`
  - the response property `message` became optional for the status `500`
  - deleted the `header` request parameter `X-Team-Id`
  - removed the request property `custom_weekdays`
  - removed the request property `hourly_frequency`
  - removed the request property `start_time`
  - removed the optional property `code` from the response with the `401` status
  - removed the optional property `code` from the response with the `500` status
  - removed the optional property `error` from the response with the `401` status
  - removed the optional property `error` from the response with the `500` status
  - removed the optional property `error_id` from the response with the `401` status
  - removed the optional property `error_id` from the response with the `500` status
  - removed the optional property `kind` from the response with the `401` status
  - removed the optional property `kind` from the response with the `500` status
  - removed the optional property `param` from the response with the `401` status
  - removed the optional property `param` from the response with the `500` status
  - removed the optional property `status` from the response with the `401` status
  - removed the optional property `status` from the response with the `500` status
  - api tag `scans` removed
  - added the new optional request property `all`
  - added the new optional request property `assets`
  - added the new optional request property `private_templates`
  - added the new optional request property `recommended`
  - added the new optional request property `targets`
  - added the new optional request property `templates`
  - the request property `scan_id` became optional
  - removed the non-success response with the status `400`

---

[Operation](https://skmtc.dev/projectdiscovery/apis/pdcp-api/docs/v1/scans/schedule/post.md) - [API](https://skmtc.dev/projectdiscovery/apis/pdcp-api.md) - [Page](https://skmtc.dev/projectdiscovery/apis/pdcp-api/changes/v1/scans/schedule/post)
