private static void RemoveDomainPermissionFromAgency(IamClient iamClient)
        {
            var removePermissionFromAgencyOnDomainRequest = new RemoveDomainPermissionFromAgencyRequest()
            {
                DomainId = "",
                AgencyId = "",
                RoleId   = ""
            };

            try
            {
                var removePermissionFromAgencyOnDomainResponse =
                    iamClient.RemoveDomainPermissionFromAgency(removePermissionFromAgencyOnDomainRequest);
                Console.WriteLine(JsonConvert.SerializeObject(removePermissionFromAgencyOnDomainResponse.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);
            }
        }