Update element
PUT/v1/lookup-lists/:lookupListId/elements/:id
Changes the value and/or comment of a specific element, identified by its ID. Please ensure to change the region in the URL to match your account's region.
Request
Path Parameters
GUID of the lookup list.
ID of a specific value element contained in the lookup list.
- application/json
Body
required
ID of the element in the Lookup list.
Possible values: non-empty
and <= 80 characters
A single field value. You should ensure that the lookup list contains a list of values all mapped to the same field.
Possible values: <= 200 characters
Optional. A place to add a note or additional details about the value. For example, if the value is an IP address, the comment can identify the server.
Optional. The expiration date and time of the lookup list as UNIX epoch milliseconds. When this parameter is left empty, the lookup list does not expire.
Responses
- 200
successful operation
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
ID of the element in the Lookup list.
Possible values: non-empty
and <= 80 characters
A single field value. You should ensure that the lookup list contains a list of values all mapped to the same field.
Possible values: <= 200 characters
Optional. A place to add a note or additional details about the value. For example, if the value is an IP address, the comment can identify the server.
Optional. The expiration date and time of the lookup list as UNIX epoch milliseconds. When this parameter is left empty, the lookup list does not expire.
{
"id": 0,
"value": "54.53.1.1",
"comment": "ABC Server",
"expirationDate": 0
}