Update Policy

Updates an existing policy.

Notes: For Xray version 3.21.2 and above with Projects, a Project Admin with Manage Security Assets privilege can update a policy using this REST API in the scope of a project, by using the additional query parameter projectKey. A project_key can not be updated.

API Version: V.2

Consumes: application/json

Produces : application/json

Query Parameters:

Request Body:

Criteria

Cvss_range

Exposures

Op_risk_custom

Actions

Note: This action applies only to Operational Risk and License type Policies.

Block_download

Response body

Response codes

Sample request

Sample successful response

Sample error response

Language
Credentials
Basic
base64
:
Response
Click Try It! to start a request and see the response here!