Skip to main content
PATCH
Change a row

Authorizations

Authorization
string
header
required

A member credential in the Authorization: Bearer header: a member session JWT, a portal JWT whose login is linked to a membership in that company, an opaque member token, or a verified One Auth identity access token. The credential alone identifies the member and company. Member session JWTs, and portal JWTs the server minted read-only, are refused with 403 on every write.

Path Parameters

site_id
string<uuid>
required

Public id of one of the member's sites.

table
string
required

The name of a table of the site's database, letters, digits and underscores, starting with a letter or underscore, at most 63 characters. A table that is not in the database's public schema is 404.

Pattern: ^[A-Za-z_][A-Za-z0-9_]{0,62}$
id
string
required

The value of the table's single-column primary key. A table with no single-column primary key answers 422.

Required string length: 1 - 255

Body

application/json

The values to write to one row.

values
object
required

One row, an object of column name to value. A value is a string, number, boolean, null, object or array, as the column's type reads.

Response

The changed row.

One row.

status
integer
required

HTTP status code (mirrors the response status line).

data
object
required

One row, an object of column name to value. A value is a string, number, boolean, null, object or array, as the column's type reads.

meta
object
required

Envelope metadata present on every response.