Skip to main content
DELETE
Archive Dataset

Authorizations

Authorization
string
header
required

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

Headers

X-Narrative-Retention-Days
integer<int32>

On an AWS data plane, the number of days the dataset's data is kept after it is archived, from 0 to 30. Defaults to 30. Ignored on a Snowflake data plane, where the data is deleted.

Required range: 0 <= x <= 30

Path Parameters

dataset_id
integer<int64>
required

Response

ArchiveDataset 202 response

dataset
object
required

A dataset.

The encoder drops nulls and empty collections, so an optional field is absent rather than null, and tags and mappings are absent rather than [] when there are none. DatasetAdminResponse composes this schema with allOf but encodes without that step, so on the admin endpoints the same optional fields arrive as null. Either way they are optional, and both shapes validate.

Example:
workflow_id
string
required

The id of the workflow that removes the dataset's data.