Skip to main content
PATCH
/
v1
/
streams
/
{STREAM_ID}
Update a Stream
curl --request PATCH \
  --url https://api.domo.com/v1/streams/{STREAM_ID} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "updateMethod": "REPLACE"
}
'
{
  "id": 42,
  "dataSet": {
    "id": "0c1e0dbe-9f71-4625-9b50-b79e6e4266f2",
    "name": "Leonhard Euler Party",
    "description": "Mathematician Guest List",
    "rows": 0,
    "columns": 0,
    "owner": {
      "id": 27,
      "name": "DomoSupport"
    },
    "createdAt": "2016-05-27T17:53:04Z",
    "updatedAt": "2016-05-27T17:53:10Z",
    "pdpEnabled": false
  },
  "updateMethod": "REPLACE",
  "createdAt": "2016-05-27T17:53:05Z",
  "modifiedAt": "2016-05-27T17:53:05Z"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

STREAM_ID
number
required

The ID of the Stream

Query Parameters

updateMethod
string
required

The data import behavior

Body

application/json
updateMethod
string

Response

200 - application/json

Returns a full DataSet object of the Stream.

id
integer
dataSet
object
updateMethod
string
createdAt
string
modifiedAt
string