---
title: "Retired token"
description: "The token is an older workspace token and no longer works. Create a new token in Settings > API."
---

> Documentation Index
> Fetch the complete documentation index at: https://tarkle.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Retired token

The API answered with HTTP 401 and the error code `legacy_token`.

The token is an older workspace token and no longer works. Create a new token in Settings > API.

Every error is an [RFC 9457](https://www.rfc-editor.org/rfc/rfc9457) problem document (`application/problem+json`). Match on `code`, never on the message text. See [errors](/docs/api/errors) for the full list.

Source: https://tarkle.com/docs/api/errors/legacy_token/index.mdx
