Module: Telnyx::APIOperations::Delete
- Included in:
- Telnyx::AccessIPAddress, Telnyx::AccessIPRange, Telnyx::Address, Telnyx::AlphanumericSenderId, Telnyx::AuthenticationProviders, BatchMdrReport, BillingGroup, Brand, BulkCreation, CallControlApplication, CallRecording, Campaign, CredentialConnection, DialogflowConnection, Documents, DynamicEmergencyEndpoint, FQDN, FQDNConnection, Fax, FaxApplication, GlobalIp, GlobalIpAssignment, IP, IPConnection, ManagedAccount, MdrUsageReport, Media, MessagingHostedNumber, MessagingHostedNumberOrder, MessagingProfile, MessagingTollfreeVerification, MobilePushCredential, Network, NotificationChannel, NotificationProfile, NotificationSetting, OutboundVoiceProfile, PartnerCampaign, PhoneNumber, PhoneNumberCampaign, PortingOrder, Portout, PrivateWirelessGateway, PublicInternetGateway, Room, RoomComposition, RoomRecording, SimCardAction, SimCardDataUsageNotification, SimCardGroup, TelephonyCredential, TexmlApplication, VerifyProfile, VirtualCrossConnect, WireguardInterface, WireguardPeer, WirelessDetailRecordsReport
- Defined in:
- lib/telnyx/api_operations/delete.rb
Instance Method Summary collapse
Instance Method Details
#delete(params = {}, opts = {}) ⇒ Object
6 7 8 9 10 |
# File 'lib/telnyx/api_operations/delete.rb', line 6 def delete(params = {}, opts = {}) opts = Util.normalize_opts(opts) resp, opts = request(:delete, resource_url, params, opts) initialize_from(resp.data[:data], opts) if resp.data[:data].present? # at deletion resp[:data] not present for some apis end |