Skip to main content
PATCH
/
api
/
database
/
records
/
{tableName}
Update Records
curl --request PATCH \
  --url https://api.example.com/api/database/records/{tableName} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "title": "Updated Post Title",
  "content": "This content has been updated."
}
'
[]

Authorizations

Authorization
string
header
required

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

Headers

Prefer
enum<string>

Include to return updated records in response

Available options:
return=representation

Path Parameters

tableName
string
required

Name of the table

Query Parameters

id
string

Filter records by ID (e.g., "?id=eq.123e4567-e89b-12d3-a456-426614174000")

Body

application/json

The body is of type object.

Response

Records updated