refactor api_request, support DELETE
support DELETE /profiles