Update Record

Updates the specified record in a table.

When you update a field, include the entire contents you want the field to store. For JSON fields, include all nested fields and values. If a nested field isn’t included, it’s removed.

The time-to-live (TTL) for a transient field resets when the field value is updated.

Path parameters

vaultIDstringRequired
ID of the vault.
tableNamestringRequired
Name of the table.
IDstringRequired

skyflow_id of the record.

Headers

AuthorizationstringRequired

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

Request

This endpoint expects an object.
recordobjectOptional
Record values and tokens.
tokenizationbooleanOptional

If true, this operation returns tokens for fields with tokenization enabled.

byotenumOptionalDefaults to DISABLE

Token insertion behavior.

  • DISABLE: Tokens aren’t allowed for any fields. If tokens are specified, the request fails.
  • ENABLE: Tokens are allowed—but not required—for all fields. If tokens are specified, they’re inserted.
  • ENABLE_STRICT: Tokens are required for all fields. If tokens are specified, they’re inserted. If not, the request fails.
Allowed values:

Response

A successful response.
skyflow_idstring or null
ID of the updated record.
tokensmap from strings to any or null
Tokens for the record.

Errors