---
title: "Unassign Label from Strings"
method: DELETE
path: "/projects/{projectId}/labels/{labelId}/strings"
tags: ["Labels"]
---

# Unassign Label from Strings

`DELETE /projects/{projectId}/labels/{labelId}/strings`

## Request

- Base URL: `https://api.crowdin.com/api/v2`
- URL: `https://api.crowdin.com/api/v2/projects/{projectId}/labels/{labelId}/strings`
- Auth: none declared
- TypeScript: <https://skmtc.dev/crowdin/apis/crowdin-enterprise-api-v2/docs/projects/:projectId/labels/:labelId/strings/delete.ts> (a function with typed inputs; its response is checked against the schema)

**Required scopes:** `project.source.file` (Read and Write).

## Path parameters

- `projectId` integer, required
- `labelId` integer, required

## Query parameters

- `stringIds` string, required

## Response `200`

Label was successfully unassigned from Strings

- EnterpriseFileBasedStringCollectionResource: Base schema of resource container. Container is a wrapper object that contains payload in required `data` property and provides space for adding any other metadata.
  - `data` EnterpriseFileBasedStringResource[], required
    - `data` FileBasedString, required
      - `id` integer
      - `projectId` integer
      - `branchId` integer, nullable
      - `identifier` string
      - `text` union
        - string
        - object
      - `type` string
      - `context` string
      - `maxLength` integer
      - `isHidden` boolean
      - `isDuplicate` boolean
      - `masterStringId` integer, nullable
      - `hasPlurals` boolean: Use fields `type` and `text` instead
      - `isIcu` boolean: Use field `type` instead
      - `labelIds` integer[]
      - `webUrl` string
      - `createdAt` string, date-time, nullable
      - `updatedAt` string, date-time, nullable
      - `fields` EnterpriseAdditionalFields: Fields. Keys get via [List Fields](#operation/api.fields.getMany)
      - `fileId` integer
      - `directoryId` integer, nullable
      - `revision` integer
  - `pagination` Pagination: Pagination Response Model
    - `offset` integer
    - `limit` integer

## Other responses

- `400`: Invalid Request Parameters
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Project or label with specified id was not found
- `405`: Method Not Allowed
- `503`: Service Unavailable

---

[API](https://skmtc.dev/crowdin/apis/crowdin-enterprise-api-v2.md) - [All operations](https://skmtc.dev/crowdin/apis/crowdin-enterprise-api-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/crowdin/apis/crowdin-enterprise-api-v2/revisions/dc68744c5384?raw)
