# Unpublish an article's translation

Takes the translation back to a draft; readers of its language read the original again. Returns the translation as a draft.

```http
DELETE https://trydimmi.com/api/v1/articles/{article}/translations/{locale}/publications
```

## Authorization

Send an API token as `Authorization: Bearer <token>`.
The token needs: `articles:write`.

## Path parameters

- `article` (string, required): Id of the help article, starting with art_, such as art_01jx2m8k4t. Find it with GET /help-centers/{help_center}/articles.
- `locale` (string, required): A language the help center offers besides its default, as a code such as fr or pt-BR.

## Response 200 (OK)

- `data` (object, required)
  - `article_id` (string, required): The id of the article translated, such as art_abc123.
  - `body_markdown` (string): The translation's working copy in Markdown. Left out of lists.
  - `created_at` (string, required): When it was created, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.
  - `description` (string | null, required): The translated summary shown under the title. Null when it has none.
  - `has_unpublished_changes` (boolean, required): True when the working copy differs from the version readers of the language see.
  - `locale` (string, required): The language of the translation, as a code such as fr or pt-BR.
  - `lock_version` (integer, required): Goes up with every save; send it back to save over this version only.
  - `object` (string, required): The kind of record this is, the same for every record of its kind, such as article.
  - `outdated` (boolean, required): True when the source was published with other words since the translation caught up.
  - `published_at` (string | null, required): When the translation was last published. Null while it never was.
  - `slug` (string, required): The translation's address in its language, such as remboursements.
  - `status` (string, required): draft until the translation is published, then published.
  - `title` (string, required): The translated title.
  - `updated_at` (string, required): When it last changed, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.
  - `word_count` (integer, required): The number of words in the translation's working copy.

## Response default (Error)

- `code` (string, required): Stable code for programs to tell errors apart, such as validation_failed or internal_error.
- `errors` (object): Each rejected field mapped to its messages. Only present when the input was invalid.
- `message` (string, required): What went wrong, in words safe to show a person.

## Example request

```bash
curl --request DELETE \
  --url 'https://trydimmi.com/api/v1/articles/{article}/translations/{locale}/publications' \
  --header 'Authorization: Bearer <token>'
```

## Example response

```json
{
  "data": {
    "article_id": "<string>",
    "body_markdown": "<string>",
    "created_at": "2026-11-01T09:30:00Z",
    "description": "<string>",
    "has_unpublished_changes": true,
    "locale": "<string>",
    "lock_version": 123,
    "object": "<string>",
    "outdated": true,
    "published_at": "2026-11-01T09:30:00Z",
    "slug": "<string>",
    "status": "<string>",
    "title": "<string>",
    "updated_at": "2026-11-01T09:30:00Z",
    "word_count": 123
  }
}
```

---

Index of all dimmi docs: https://trydimmi.com/llms.txt (full text: https://trydimmi.com/llms-full.txt)
