Method: Fog::DNS::Rage4::Real#delete_domain

Defined in:
lib/fog/rage4/requests/dns/delete_domain.rb

#delete_domain(id) ⇒ Object

Delete a specific domain

Parameters

  • id<~Integer> - numeric ID

Returns

  • response<~Excon::Response>:

    • body<~Hash>:

      * 'status'<~Boolean>
      * 'id'<~Integer>
      * 'error'<~String>
      


15
16
17
18
19
20
# File 'lib/fog/rage4/requests/dns/delete_domain.rb', line 15

def delete_domain(id)
  request(
          :expects  => 200,
          :method   => 'GET',
          :path     => "/rapi/deletedomain/#{id}" )
end