Skip to main content
PUT
/
table
/
reference
/
{referenceId}
Update a table reference
curl --request PUT \
  --url https://app.myhero.so/table/reference/{referenceId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "oneToManyColumnId": "<string>",
  "oneToManyInstanceIds": [
    "<string>"
  ]
}
'
{
  "data": {
    "_id": "<string>",
    "documentId": "<string>",
    "workspaceId": "<string>",
    "tableId": "<string>",
    "columnId": "<string>",
    "relatedRowId": "<string>",
    "columnName": "<string>",
    "tableName": "<string>",
    "type": "relation",
    "createdAt": 123,
    "updatedAt": 123,
    "originId": "<string>",
    "oneToManyColumnId": "<string>",
    "oneToManyInstanceIds": [
      "<string>"
    ]
  }
}

Documentation Index

Fetch the complete documentation index at: https://developers.myhero.so/llms.txt

Use this file to discover all available pages before exploring further.

Updates the oneToManyColumnId and/or oneToManyInstanceIds of a table reference. Requires edit access to the document the reference belongs to. Returns the updated TableReference.

Authorizations

Authorization
string
header
required

HERO personal access token

Path Parameters

referenceId
string
required
Minimum string length: 1

Body

application/json
oneToManyColumnId
string | null
oneToManyInstanceIds
string[]

Response

200 response

data
object
required