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.
Authentication
AuthorizationBearer
Access token, prefixed by Bearer: Bearer <token>. Retrieved using <a href='https://readme.skyflow.com/reference/Authentication/OAuth2'>OAuth2</a> security scheme.
Path Parameters
vaultID
ID of the vault.
tableName
Name of the table.
ID
skyflow_id of the record.
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.