Skip to main content
PUT
/
table
/
{tableId}
Update a table
curl --request PUT \
  --url https://app.myhero.so/table/{tableId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "description": "<string>",
  "columns": [
    "<string>"
  ]
}
'
{
  "data": {
    "_id": "<string>",
    "name": "<string>",
    "slug": "<string>",
    "rows": [
      "<string>"
    ],
    "columns": [
      "<string>"
    ],
    "isStatic": false,
    "ownerId": "<string>",
    "projectId": "<string>",
    "workspaceId": "<string>",
    "createdAt": 123,
    "updatedAt": 123,
    "originId": "<string>",
    "description": "<string>",
    "icon": {
      "name": "<string>",
      "color": "<string>"
    },
    "isDeleted": false
  }
}

Authorizations

Authorization
string
header
required

HERO personal access token

Path Parameters

tableId
string
required
Minimum string length: 1

Body

application/json
name
string
description
string
columns
string[]
icon
object

Response

200 response

data
object
required