You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@airavata.apache.org by GitBox <gi...@apache.org> on 2020/06/22 17:45:09 UTC

[GitHub] [airavata-custos] virendrawali edited a comment on issue #79: Error while using delete_tenant python API

virendrawali edited a comment on issue #79:
URL: https://github.com/apache/airavata-custos/issues/79#issuecomment-647676841


   Hi Isuru,
   
   I am able to delete a child tenant but the response returned by the API is empty and I was expecting status == True or something like that. Could you please check if we need to modify the deleteTenant response?  Will it be better if we make it like the delete user API?
       
   Here is the code from the TenantManagementService.proto file. 
   ```
   rpc deleteTenant (DeleteTenantRequest) returns (google.protobuf.Empty) {
           option (google.api.http) = {
              delete: "/tenant-management/v1.0.0/oauth2/tenant"
           };
       }
   ```
   ```
   
       rpc deleteUser (org.apache.custos.iam.service.UserSearchRequest) returns (org.apache.custos.iam.service.OperationStatus) {
           option (google.api.http) = {
              delete: "/user-management/v1.0.0/user"
              body: "user"
            };
   
       }
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org