Deletes a rule by given ID.
Request
Path parameters
| Key | Required | Type | Description |
|---|---|---|---|
| ruleId | Yes | string |
Identifier for rule to delete. |
Response
This method returns 200 OK on successful deletion.
Response example
Example status code responses for this method are shown here.
{
"message": "Rule with ID 694b9990fdf9159bd458a99d has been successfully deleted.",
"status": "Success"
}{
"type": "about:blank",
"title": "Bad Request",
"status": 400,
"detail": "Invalid rule id",
"instance": "https://verify-api-portal-dev.dqcore.cloud.precisely.services/v1/quality/rules/689d9917437bd1d494d6b",
"errorCode": "DIS-QUALITY-RULES-USR-0003"
}{
"type": "about:blank",
"title": "Not Found",
"status": 404,
"detail": "Rule not found",
"instance": "https://verify-api-portal-dev.dqcore.cloud.precisely.services/v1/quality/rules/6896504109f058870fa824bb",
"errorCode": "DIS-QUALITY-Rule-USR-1001"
}{
"type": "about:blank",
"title": "Internal Server Error",
"status": 500,
"detail": "An unexpected error occurred on the server",
"instance": "https://verify-api-portal-dev.dqcore.cloud.precisely.services/v1/quality/rules/689d9917437bd1d494d6b",
"errorCode": "DIS-QUALITY-RULES-SVC-0001"
}