@ -31,8 +31,7 @@ module API
namespace ':relation_id' do
delete do
authorize(:manage_work_package_relations, context: @work_package.project)
relation = Relation.find(params[:relation_id])
relation.delete
Relation.destroy(params[:id])
status 204
end