Delete Ignore Rule

Xray REST APIs

ft:sourceType
Paligo

Description: Delete an Ignore Rule and restore violations associated with this rule. Since Xray 3.13 the "restore_violations" parameter has been deprecated.

Since: 3.11

Security: Requires a valid user with the "Manage Watches" permission.

Notes: For Xray version 3.21.2 and above with Projects, a Project Admin with the Manage Assets privilege can delete Ignore Rules using this REST API in the scope of a project, by using the additional query parameter projectKey.

Usage: DELETE /api/v1/ignore_rules/{id}

Sample Usage

http://10.70.30.82:8082/xray/api/v1/ignore_rules/d6192775-9320-42ec-7a98-4a860f01f02b?restore_violations=true

Response Codes:

204 - No content

500 - Failed to delete ignore rule

404 - Ignore rule not found

401 - Unauthorized

403 - Forbidden