Sanity App SDK
    Preparing search index...

    Interface ArchiveReleaseActionBeta

    Archives an active release. Version documents within the release are removed and no longer queryable, though still recoverable through history during the retention period.

    interface ArchiveReleaseAction {
        dataset?: string;
        perspective?: ReleasePerspective | ClientPerspective;
        projectId?: string;
        releaseId: string;
        resource?: DocumentResource;
        source?: DocumentResource;
        type: "release.archive";
    }

    Hierarchy (View Summary)

    Index

    Properties

    dataset?: string
    perspective?: ReleasePerspective | ClientPerspective
    projectId?: string
    releaseId: string
    resource?: DocumentResource

    Explicit resource object to use for this operation.

    Use resource instead.

    type: "release.archive"