# Delete Tests https://api-docs.lumar.io/docs/protect/tests/delete-tests The follwing mutation deletes a test: ```graphql mutation DeleteTest($testId: ObjectID!) { deleteTest(input: { testId: $testId }) { test { id } } } ``` :::caution Removing a test from a test suite won't affect any previously completed builds and test results. :::