---
title: "translationsRemove"
description: "Delete the translation data for a store resource."
doc_type: graphql
doc_category: adminGraphQL
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/admin-graph-ql-api/localizations/mutations/translations-remove'
  md: 'https://developer.shopline.com/docs/admin-graph-ql-api/localizations/mutations/translations-remove.md'
---
# translationsRemove

Delete the translation data for a store resource.

- **Required Scopes:** `write_translation`
- **API Version:** v20270301
- **API Type:** Admin
- **API Protocol:** GraphQL
- **Operation Type:** Mutation

## Required Permissions

* `write_translation`

An access token is required to call this API. Refer to [Authorization](https://developer.shopline.com/docs/apps/api-instructions-for-use/graph-ql-admin-api/overview.md) for more information about how to obtain the token.

## Arguments

* `translationKeys`

  [[String!]!](https://developer.shopline.com/docs/admin-graph-ql-api/common/scalars/string.md)

  A list of business resource fields.

* `locales`

  [[String!]!](https://developer.shopline.com/docs/admin-graph-ql-api/common/scalars/string.md)

  A list of languages used in the [market](https://help.shopline.com/hc/en-001/articles/12436136316313-Market-Management).
  <br></br>For example: `en`.

* `marketIds`

  [[ID!]](https://developer.shopline.com/docs/admin-graph-ql-api/common/scalars/id.md)

  A list of store markets.

* `resourceId`

  [ID!](https://developer.shopline.com/docs/admin-graph-ql-api/common/scalars/id.md)

  The unique identifier for the resource. <br></br>For example, product ID `16057169190700063316363001`.

## Returns

* `translations`

  [[Translation!]](https://developer.shopline.com/docs/admin-graph-ql-api/localizations/objects/translation.md)

  Removed translations

* `userErrors`

  [[TranslationUserError!]!](https://developer.shopline.com/docs/admin-graph-ql-api/localizations/objects/translation-user-error.md)

  user errors

## Examples

### Delete the translation data for specific markets, languages, and types within a resource

Delete the translation data for specific markets, languages, and types within a resource.

**Request:**

```json
mutation TranslationsRemove {
    translationsRemove(
        translationKeys: ["title"]
        locales: ["en"]
        resourceId: "gid://shopline/Product/16065881455967920659531950"
        marketIds: ["2805979406510623080534"]
    ) {
        translations {
            outdated
            locale
            value
            key
            market {
                id
            }
        }
        userErrors {
            code
            field
            message
        }
    }
}
```

**Response:**

```json
{
  "data": {
    "data": {
      "translationsRemove": {
        "translations": [
          {
            "value": "Default corpus English - Product title",
            "key": "title",
            "locale": "en",
            "market": {
              "id": "DEFAULT"
            },
            "outdated": false
          }
        ]
      }
    }
  }
}
```

## Error Handling

For detailed information about common codes, see [Status and error codes](https://developer.shopline.com/docs/apps/api-instructions-for-use/graph-ql-admin-api/overview.md#status-and-error-codes).

