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>",
    "createdAt": 123,
    "updatedAt": 123,
    "originId": "<string>",
    "oneToManyColumnId": "<string>",
    "oneToManyInstanceIds": [
      "<string>"
    ]
  }
}

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