Method: TestRail::Client::Cases#delete_case

Defined in:
lib/testrail_api/client/cases.rb

#delete_case(case_id) ⇒ Object

Deletes an existing test case. Please note: Deleting a test case cannot be undone and also permanently deletes all test results in active test runs (i.e. test runs that haven’t been closed (archived) yet).

Parameters:

  • case_id (Integer, String)

    The ID of the test case



101
102
103
# File 'lib/testrail_api/client/cases.rb', line 101

def delete_case(case_id)
  post("delete_case/#{case_id}")
end