const datasets = [
{ externalId: 'sensitiveData' },
{ writeProtected: true }
];
const createdDatasets = await client.datasets.create(datasets);{
"items": [
{
"writeProtected": false,
"id": 4503599627370496,
"createdTime": 1730204346000,
"lastUpdatedTime": 1730204346000,
"externalId": "my.known.id",
"name": "<string>",
"description": "<string>",
"metadata": {}
}
]
}Required capabilities:
datasetsAcl:WRITE
You can create a maximum of 10 data sets per request.
const datasets = [
{ externalId: 'sensitiveData' },
{ writeProtected: true }
];
const createdDatasets = await client.datasets.create(datasets);{
"items": [
{
"writeProtected": false,
"id": 4503599627370496,
"createdTime": 1730204346000,
"lastUpdatedTime": 1730204346000,
"externalId": "my.known.id",
"name": "<string>",
"description": "<string>",
"metadata": {}
}
]
}Access token issued by the CDF project's configured identity provider. Access token must be an OpenID Connect token, and the project must be configured to accept OpenID Connect tokens. Use a header key of 'Authorization' with a value of 'Bearer $accesstoken'. The token can be obtained through any flow supported by the identity provider.
List of the data sets to create.
1 - 10 elementsShow child attributes
A list of data sets.
Show child attributes
Was this page helpful?