Patch Dataset

Update dataset properties

Request
path Parameters
id
required
string

Dataset id

query Parameters
system
boolean

when specified - editing system space metadata is enabled

Request Body schema: application/json

Properties to update on the dataset

_id
string
name
string
creator
string
projects
Array of strings
ObjectID (string) or string
object (APIMetadata)
Responses
200

Ok

patch/datasets/{id}
Request samples
application/json
{
  • "_id": "string",
  • "name": "string",
  • "creator": "string",
  • "projects": [
    ],
  • "driver": "string",
  • "metadata": {
    }
}
Response samples
application/json
{
  • "id": "string",
  • "url": "string",
  • "name": "string",
  • "annotated": 0,
  • "itemsCount": 0,
  • "items": "string",
  • "directoryTree": "string",
  • "creator": "string",
  • "projects": [
    ],
  • "metadata": {
    },
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z",
  • "updatedBy": "string",
  • "readableType": "string",
  • "accessLevel": "private",
  • "driver": "string",
  • "readonly": true,
  • "error": null,
  • "expirationOptions": {
    },
  • "indexDriver": "v1",
  • "enableSyncWithCloned": true,
  • "srcDataset": "string",
  • "annotationsCount": 0
}