Update a row

Updates a row in the lookup table.

Path parameters

lookup_table_idintegerRequired
Lookup table ID.
row_idintegerRequired
Lookup table row ID.

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
datamap from strings to anyRequired

The hash containing the data for the updated row in the form of column_name:value pairs. For example, { name: United States, code: USA }. Only the columns provided are updated.

Response

Success reply. Also returns an error message on failures in the following format: { error: error_message }

idinteger or null
The unique identifier of the object.
dataobject or null
The data associated with the object.
created_atstring or null
The timestamp when the object was created.
updated_atstring or null
The timestamp when the object was last updated.

Errors