Skip to main content
PUT
/
databases
/
{databaseId}
Update Database
curl --request PUT \
  --url https://tables-api.softr.io/api/v1/databases/{databaseId} \
  --header 'Content-Type: application/json' \
  --header 'Softr-Api-Key: <api-key>' \
  --data '{
  "name": "<string>",
  "description": "<string>"
}'
{
  "data": {
    "id": "<string>",
    "name": "<string>",
    "description": "<string>",
    "workspaceId": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Softr-Api-Key
string
header
required

Path Parameters

databaseId
string
required

Body

application/json
name
string
description
string

Response

The updated database.

data
object