cURL
curl --request PUT \ --url https://tables-api.softr.io/api/v1/databases/{databaseId}/tables/{tableId} \ --header 'Content-Type: application/json' \ --header 'Softr-Api-Key: <api-key>' \ --data '{ "name": "<string>", "description": "<string>" }'
{ "data": { "id": "<string>", "name": "<string>", "description": "<string>", "primaryFieldId": "<string>", "defaultViewId": "<string>", "fields": [ { "id": "<string>", "name": "<string>", "type": "SINGLE_LINE_TEXT", "options": {}, "allowMultipleEntries": true, "readonly": true, "required": true, "locked": true, "defaultValue": "<string>", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z" } ], "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z" } }
Update a table’s name and/or description. To modify fields, use the field-specific endpoints.
The updated table.
Show child attributes