Delete policy

Deletes a policy (scan template).

Note: Policies are referred to as scan templates in the user interface. The term policy is only used by the API. The two terms refer to the same feature.

Requires the Standard [32] user role and the Can Execute [32] scan template (policy) permission. Alternatively, requires the VM.VM_SCAN.VM_SCAN_USER_TEMPLATE.DELETE custom role privilege. See Roles and Permissions.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
int32
required

The ID of the policy to delete.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

403

Returned if you do not have the required permissions to delete the policy (scan template).

405

Returned if the policy (scan template) is currently in use by a scan.

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
text/html