Skip to main content
PUT
/
v1
/
datasets
/
{dataset_id}
Update DataSet Details
curl --request PUT \
  --url https://api.domo.com/v1/datasets/{dataset_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "Leonhard Euler Birthday Bash",
  "description": "VIP Guest List",
  "pdpEnabled": true
}
'
{
  "id": "4405ff58-1957-45f0-82bd-914d989a3ea3",
  "name": "Leonhard Euler Birthday Bash",
  "description": "VIP Guest List",
  "rows": 0,
  "columns": 0,
  "schema": {
    "columns": [
      {
        "type": "STRING",
        "name": "Friend"
      },
      {
        "type": "STRING",
        "name": "Attending"
      }
    ]
  },
  "owner": {
    "id": 27,
    "name": "DomoSupport"
  },
  "createdAt": "2016-06-21T17:20:36Z",
  "updatedAt": "2016-06-21T17:48:41Z",
  "pdpEnabled": true,
  "policies": [
    {
      "id": 8,
      "type": "user",
      "name": "Only Show Attendees",
      "filters": [
        {
          "column": "Attending",
          "values": [
            "TRUE"
          ],
          "operator": "EQUALS",
          "not": false
        }
      ],
      "users": [
        27
      ],
      "groups": []
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

dataset_id
string
required

The ID of the DataSet

Body

application/json
name
string

Name of the DataSet to update

description
string

Description of DataSet to update

pdpEnabled
boolean
schema
object

The current schema associated with this DataSet

Response

200 - application/json

Successful response

id
string
name
string
description
string
rows
integer
columns
integer
schema
object
owner
object
createdAt
string
updatedAt
string
pdpEnabled
boolean
policies
object[]