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
vaultID
ID of the vault.
tableName
Name of the table.
ID
skyflow_id
of the record.
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
record
Record values and tokens.
tokenization
If true
, this operation returns tokens for fields with tokenization enabled.
byot
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_id
ID of the updated record.
tokens
Tokens for the record.