---
search:
  tags:
    - Topics
    - DELETE
seo:
  description: >-
    Return the data one session holds for one topic to an offset… Reference for
    the DELETE /v2/topics/id/{topic_id}/unix-offset endpoint in the Roboto REST
    API.
sidebar:
  label: Clear topic unix offset
  badge: DELETE
title: Clear topic unix offset
type: openapi-operation
---
Return the data one session holds for one topic to an offset of 0.

Its stored timestamps are then read as nanoseconds since the Unix epoch with nothing added. The
inverse of :py:func:`set_topic_unix_offset` in every other respect, including which data it
reaches and how declared time ranges follow it back.

Returns the updated timeline extent records.

Clearing yields a 400 when the data has negative timestamps of its own, which offset 0 places before the Unix epoch,
or when a declared time range moved back with its data would start before the epoch.
A concurrent writer adding data to the session yields a 409; retry the request.

### Access control
 - Restricted tokens need the API scope `api.everything_else`

`DELETE /v2/topics/id/{topic_id}/unix-offset`
