private static void KeystoneRemoveProjectPermissionFromGroup(IamClient iamClient) { var keystoneRemovePermissionFromGroupOnProjectRequest = new KeystoneRemoveProjectPermissionFromGroupRequest() { ProjectId = "", GroupId = "", RoleId = "" }; try { var keystoneRemovePermissionFromGroupOnProjectResponse = iamClient.KeystoneRemoveProjectPermissionFromGroup( keystoneRemovePermissionFromGroupOnProjectRequest); Console.WriteLine( JsonConvert.SerializeObject(keystoneRemovePermissionFromGroupOnProjectResponse.HttpStatusCode)); } catch (RequestTimeoutException requestTimeoutException) { Console.WriteLine(requestTimeoutException.ErrorMessage); } catch (ServiceResponseException clientRequestException) { Console.WriteLine(clientRequestException.HttpStatusCode); Console.WriteLine(clientRequestException.ErrorCode); Console.WriteLine(clientRequestException.ErrorMsg); } catch (ConnectionException connectionException) { Console.WriteLine(connectionException.ErrorMessage); } }