curl --request PATCH \
--url https://api.extruct.ai/v1/tables/{table_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"description": "<string>",
"tags": [
"<string>"
],
"notify": true,
"settings": {
"exclude_from_search": false
},
"columns_order": [
"<string>"
]
}'
{
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"name": "<string>",
"description": "<string>",
"tags": [
"<string>"
],
"kind": "generic",
"notify": false,
"settings": {
"exclude_from_search": false
},
"columns": [
{
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"config": {
"kind": "input",
"name": "<string>",
"key": "<string>"
}
}
],
"owner": {
"id": "<string>",
"email": "<string>"
},
"child_relationships": [
{
"table_id": "<string>",
"relationship_type": "company_people"
}
],
"parent_relationships": [
{
"table_id": "<string>",
"relationship_type": "company_people"
}
]
}
Update table metadata.
curl --request PATCH \
--url https://api.extruct.ai/v1/tables/{table_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"description": "<string>",
"tags": [
"<string>"
],
"notify": true,
"settings": {
"exclude_from_search": false
},
"columns_order": [
"<string>"
]
}'
{
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"name": "<string>",
"description": "<string>",
"tags": [
"<string>"
],
"kind": "generic",
"notify": false,
"settings": {
"exclude_from_search": false
},
"columns": [
{
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"config": {
"kind": "input",
"name": "<string>",
"key": "<string>"
}
}
],
"owner": {
"id": "<string>",
"email": "<string>"
},
"child_relationships": [
{
"table_id": "<string>",
"relationship_type": "company_people"
}
],
"parent_relationships": [
{
"table_id": "<string>",
"relationship_type": "company_people"
}
]
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Successful Response
The response is of type object
.