def main(): # Set up a domain to be deleted below. domain = setup_domain() # Delete the domain. delete_domain(domain["id"]) # Try to delete the same domain again. Notice the response code 404. delete_domain(domain["id"])
def main(): # Set up a domain to be modified below. domain = setup_domain() updated_domain = update_domain(domain) # Delete it now. api('config/domain_management/domains/' + str(updated_domain['id']), 'DELETE')
def main(): # Set up a domain to be deleted below. domain = setup_domain() # Delete the domain. delete_domain(domain['id']) # Try to delete the same domain again. Notice the response code 404. delete_domain(domain['id'])