diff --git a/lib/ci/api/builds.rb b/lib/ci/api/builds.rb
index 0e17ac24d5a957fb07fd9dc46c0129de3199400b..b51e76d93f291952c09a98b87a52cedf4a975555 100644
--- a/lib/ci/api/builds.rb
+++ b/lib/ci/api/builds.rb
@@ -217,6 +217,7 @@ module Ci
           build = Ci::Build.find_by_id(params[:id])
           authenticate_build!(build)
 
+          status(200)
           build.erase_artifacts!
         end
       end
diff --git a/lib/ci/api/runners.rb b/lib/ci/api/runners.rb
index 2a611a67eafac7297ea81cacf8a9d1940d03ca44..c1fd959ef143151ecd6ab98b8523ae8a40c1be18 100644
--- a/lib/ci/api/runners.rb
+++ b/lib/ci/api/runners.rb
@@ -8,6 +8,8 @@ module Ci
         end
         delete "delete" do
           authenticate_runner!
+
+          status(200)
           Ci::Runner.find_by_token(params[:token]).destroy
         end