Method to delete an import rule by ID
HTTP POST /ctreplay/:domain?/deleteImportRule/:documentId
Path Variables:
Name | Mandatory | Type | Description |
---|---|---|---|
domain | NO | STRING | domain id. Default domain is “default” |
documentId | YES | STRING | Import rule ID |
Response:
Type: JSONP
Name | Type | Description |
---|---|---|
result | BOOLEAN | Result true in case of success, false in case of error |
error | NULL / STRING | Error description in case of error |
Example:
Request
http://<hostname>:<port>/ctreplay/default/deleteImportRule/5f450211b5a094e754fc2fd3
Response
{ "result": true, "error": null }