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

# POST /v2/{+name}:enable

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

Enable a disabled label and restore it to its published state. For more information, see [Disable, enable, and delete a label](https://developers.google.com/workspace/drive/labels/guides/disable-delete-label). This will result in a new published revision based on the current disabled published revision. If there's an existing disabled draft revision, a new revision will be created based on that draft and will be enabled.

## Path parameters

- `name` string, required

## Request body

- GoogleAppsDriveLabelsV2EnableLabelRequest — Request to enable a label.
  - `writeControl` GoogleAppsDriveLabelsV2WriteControl — Provides control over how write requests are executed. When not specified, the last write wins.
    - `requiredRevisionId` string — The revision ID of the label that the write request will be applied to. If this isn't the latest revision of the label, the request will not be processed and will return a 400 Bad Request error.
  - `languageCode` string — 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 — 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.

## 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/versions/0865f97e9c4a/schema)
