---
title: "Invoke action assignSensitivityLabel"
method: POST
path: "/drives/{driveId}/root/microsoft.graph.assignSensitivityLabel"
tags: ["drives.driveItem"]
---

# Invoke action assignSensitivityLabel

`POST /drives/{driveId}/root/microsoft.graph.assignSensitivityLabel`

## Path parameters

- `driveId` string, required

## Request body

- DriveItemIdMicrosoftGraphAssignSensitivityLabelBody
  - `sensitivityLabelId` string, nullable
  - `assignmentMethod` 'standard' | 'privileged' | 'auto' | 'unknownFutureValue'
  - `justificationText` string, nullable

## Response `2XX`

Success

## Other responses

- `default` — error

---

[API](https://skmtc.net/ballerina-platform/apis/files.md) · [All operations](https://skmtc.net/ballerina-platform/apis/files/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ballerina-platform/files/versions/c34150e97737/schema)
