Revert "api is working with all REST actions"

This reverts commit 3d9d82aa82b1210675172c0d8e496e297889b7d6.