Revision d9fca80b astakosclient/astakosclient/__init__.py

b/astakosclient/astakosclient/__init__.py
861 861
                                  method="POST")
862 862

  
863 863
    # ------------------------------------------
864
    # do a POST to ``API_PROJECTS``/<project_id>
864
    # do a PUT to ``API_PROJECTS``/<project_id>
865 865
    def modify_project(self, project_id, specs):
866 866
        """Submit application to modify an existing project
867 867

  
......
875 875
        req_headers = {'content-type': 'application/json'}
876 876
        req_body = parse_request(specs, self.logger)
877 877
        return self._call_astakos(path, headers=req_headers,
878
                                  body=req_body, method="POST")
878
                                  body=req_body, method="PUT")
879 879

  
880 880
    # -------------------------------------------------
881 881
    # do a POST to ``API_PROJECTS``/<project_id>/action

Also available in: Unified diff