Developer Guidelines
10.6.2605
Search this version
Developer Guidelines
Developer Guidelines
oAuth APIs
Archived APIs
Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
Update Policy Blocklist CVE
Summarize Page
Copy Markdown
Open in ChatGPT
Open in Claude
| API version | 1.0 |
|---|---|
| Last Update | 05/07/2026 |
| Authentication | YES |
| HTTP Method | POST |
| Content Type | application/json |
| Rate limited | YES |
| Requests per rate limit | 10/min |
| Response Format | JSON |
| Change History | Add support for updating Policy Blocklist CVE |
API URL
xxxxxxxxxxhttps://gears.opswat.com/o/api/v1/policies/:policy_id/block_cves/updateRequest Parameters
| Key | Datatype | Parameter Type | Required | Description | Default |
|---|---|---|---|---|---|
| access_token | string | URL | Yes | Access token which archived from OAuth authentication step | |
| policy_id | string | URL | Yes | ID of the policy | |
| os | string | Body | Yes | Operating system. One of: windows, macos, linux | |
| cves | string[] | Body | Yes | CVE IDs to set. Must not be null or empty. Max 10000 items. |
Response HTTP Code
Response Parameters
| Key | DataType | Description |
|---|---|---|
| invalid_cves | string[] | Optional. List of CVE IDs that were not valid. Present only when some CVEs in the request are invalid. |
Example
Example Request
xxxxxxxxxxhttps://gears.opswat.com/o/api/v1/policies/:policy_id/block_cves/update?access_token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXX{ "os": "windows", "cves": ["CVE-2021-44228", "CVE-2022-0778"]}Example Response (all valid)
xxxxxxxxxxHTTP 200 OKExample Response (some invalid)
xxxxxxxxxx{ "invalid_cves": ["CVE-INVALID-1"]}Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
Last updated on
Was this page helpful?
Next to read:
Sample Codenull
Discard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message