- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
reset TTL value
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2019 11:46 AM
I am trying to "reset" ttl on the host object to "undef" after having set it to a valid value via the REST API in version 2.6.1. The REST API does not accept any value other than a "valid" unsigned integer. Any non-integer value results in a validation error from the REST API. Such as: "Error": "AdmConProtoError: Invalid value for ttl: \"\": Must be integer type". The REST API does allow the 'use_ttl' field to be reset to 'False', but doing so does NOT remove the 'ttl' value. It remains set to an unsigned integer value and can be queried.
Anyone know of a way to reset the 'ttl' field value to 'undef' after it is set to a valid value? We have used the PERL API in the past and that API allows this type of operation...