- def delete(self,name):
- if 'success' not in self._http.delete_cmd('api/config/config-agent/account/{}'.format(name)):
- raise ClientException("failed to delete config agent {}".format(name))
+ def delete(self, name):
+ if ('success' not in
+ self._http.delete_cmd('api/config/{}config-agent/account/{}'
+ .format(self._client.so_rbac_project_path, name))):
+ raise ClientException("failed to delete config agent {}"
+ .format(name))