DocsAPI Reference
  • Data API
    • POSTGet BIN
LogoLogo
Login
Login
Data APIRecords

POST
/v1/vaults/:vaultID/:tableName/:ID/files
POST
/v1/vaults/:vaultID/:tableName/:ID/files
1curl -X POST https://{{vault_url_identifier}}.vault.skyflowapis.com/v1/vaults/d4410ea01d83473ca09a24c6b03096d4/persons/d4410ea0-1d83-473c-a09a-24c6b03096d4/files \
2 -H "Authorization: Bearer <token>" \
3 -H "Content-Type: multipart/form-data" \
4 -F fileColumnName=@@/path/to/file
Try it
1{
2 "skyflow_id": "4423ccdf-75eb-4e2e-abfc-acb43b1440cd",
3 "tokens": {
4 "drivers_license_number": "2fd8e729-228a-43cf-8274-d0d0efe47f6c",
5 "name": "f5c268b7-5dd4-4d37-a12d-05d148a8a440",
6 "phone_number": "4639c565-85c8-4120-94a6-e0e91ffaeca4",
7 "ssn": "736-96-1306"
8 }
9}
Was this page helpful?
Previous

Delete File

Next
Built with
Uploads a file to the specified record.
Upload File

Authentication

AuthorizationBearer
Access token, prefixed by Bearer: Bearer &lt;token&gt;. Retrieved using <a href='https://readme.skyflow.com/reference/Authentication/OAuth2'>OAuth2</a> security scheme.

Path Parameters

vaultIDstringRequired
ID of the vault.
tableNamestringRequired
Name of the table.
IDstringRequired
`skyflow_id` of the record.

Request

This endpoint expects a multipart form containing a file.
fileColumnNamefileRequired
The key for `fileColumnName` is the name of the column to store the file in, which must have a `file` data type. The value is the file to upload.

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

A successful response.

The key for fileColumnName is the name of the column to store the file in, which must have a file data type. The value is the file to upload.

skyflow_id of the record.

Access token, prefixed by Bearer: Bearer <token>. Retrieved using OAuth2 security scheme.