---
title: "POST /v2/{+name}:updateLabelEnabledAppSettings"
method: POST
path: "/v2/{+name}:updateLabelEnabledAppSettings"
tags: ["labels"]
---

# POST /v2/{+name}:updateLabelEnabledAppSettings

`POST /v2/{+name}:updateLabelEnabledAppSettings`

Updates a label's `EnabledAppSettings`. Enabling a label in a Google Workspace app allows it to be used in that app. This change isn't revisioned, doesn't require publishing, and takes effect immediately.

## Path parameters

- `name` string, required

## Request body

- GoogleAppsDriveLabelsV2UpdateLabelEnabledAppSettingsRequest — Request to update the `EnabledAppSettings` of the given label. This change is not revisioned, doesn't require publishing, and takes effect immediately. \
  - `languageCode` string — Optional. The BCP-47 language code to use for evaluating localized field labels. When not specified, values in the default configured language will be used.
  - `useAdminAccess` boolean — Optional. Set to `true` in order to use the user's admin credentials. The server will verify the user is an admin for the label before allowing access.
  - `enabledAppSettings` GoogleAppsDriveLabelsV2LabelEnabledAppSettings — Describes the Google Workspace apps in which the label can be used.
    - `enabledApps` GoogleAppsDriveLabelsV2LabelEnabledAppSettingsEnabledApp[] — Optional. The list of apps where the label can be used.
      - `app` 'APP_UNSPECIFIED' | 'DRIVE' | 'GMAIL' — Optional. The name of the app.
  - `view` 'LABEL_VIEW_BASIC' | 'LABEL_VIEW_FULL' — Optional. When specified, only certain fields belonging to the indicated view will be returned.

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/drivelabels.md) · [All operations](https://skmtc.net/google/apis/drivelabels/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/drivelabels/revisions/0865f97e9c4a/schema)
