Skip to main content
PUT
/
api
/
datastores
/
v1
/
collections
/
{collectionId}
Update Collection Schema
curl --request PUT \
  --url https://example.com/v1/api/datastores/v1/collections/{collectionId} \
  --header 'Content-Type: application/json' \
  --header 'X-DOMO-Developer-Token: <api-key>' \
  --data '
{
  "schema": {
    "columns": [
      {
        "type": "STRING",
        "name": "<string>",
        "visible": true
      }
    ]
  },
  "syncEnabled": true
}
'

Authorizations

X-DOMO-Developer-Token
string
header
required

Domo Developer Token for authentication.

Path Parameters

collectionId
string
required

The ID of the collection to update.

Body

application/json
schema
object
syncEnabled
boolean

Response

200

OK