Skip to main content
PUT
/
api
/
datastores
/
v1
/
collections
/
{collectionId}
/
documents
/
{documentId}
Update Document
curl --request PUT \
  --url https://example.com/v1/api/datastores/v1/collections/{collectionId}/documents/{documentId} \
  --header 'Content-Type: application/json' \
  --header 'X-DOMO-Developer-Token: <api-key>' \
  --data '
{
  "content": {
    "username": "Bill",
    "band": "Wyld Stallyns"
  }
}
'
{
  "message": "<string>"
}

Authorizations

X-DOMO-Developer-Token
string
header
required

Domo Developer Token for authentication.

Path Parameters

collectionId
string
required

The ID of the collection.

documentId
string
required

The ID of the document.

Body

application/json
content
object
required

Arbitrary JSON content of the document.

Response

OK (Response body is not documented)