> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Update Label

Updates an existing label with new values. User must have the `label.update` scope.

<Note>
  External Documentation

  To learn more, visit the [Hyperproof documentation](https://developer.hyperproof.app/api-details#api=labels-api\&operation=update-label).
</Note>

## Basic Parameters

<div className="integrations-table">
  | Parameter     | Description                                                                                                                                                                                                                                                                                                                                                              |
  | ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
  | Cancellations | Json object of an array of cancellations.<br /><br />**Example:**<br /><pre><code>\[<br />  \{<br />    "historyId":"historyId",<br />    "note":"note"<br />  }<br />]</code></pre>For further explanation on how to use this parameter refer to [Hyperproof's documentation](https://developer.hyperproof.app/api-details#api=controls-api\&operation=update-control). |
  | Description   | The description of the label.                                                                                                                                                                                                                                                                                                                                            |
  | Label ID      | The unique identifier of the label to update. Can be obtained by using the `List Labels` action.                                                                                                                                                                                                                                                                         |
  | Name          | The name of the label.                                                                                                                                                                                                                                                                                                                                                   |
</div>

## Advanced Parameters

<div className="integrations-table">
  | Parameter            | Description                          |
  | -------------------- | ------------------------------------ |
  | Fresh As Of Date     | The fresh as of date of the label.   |
  | Fresh As Of Note     | The fresh as of note of the label.   |
  | Fresh For Duration   | The fresh for duration of the label. |
  | Freshness Policy     | The freshness policy of the label.   |
  | Reset Freshness Note | The reset freshness note.            |
</div>

## Example Output

```json theme={"dark"}
{
	"id": "string",
	"orgId": "string",
	"name": "string",
	"description": "string",
	"freshnessPolicy": "string",
	"freshForDuration": "string",
	"createdBy": {
		"id": "string",
		"email": "string",
		"givenName": "string",
		"surname": "string",
		"profilePhotoName": "string",
		"userId": "string",
		"roleIds": [
			"string"
		],
		"state": "string"
	},
	"createdOn": "string",
	"updatedBy": {
		"id": "string",
		"email": "string",
		"givenName": "string",
		"surname": "string",
		"profilePhotoName": "string",
		"userId": "string",
		"roleIds": [
			"string"
		],
		"state": "string"
	},
	"updatedOn": "string",
	"status": "string",
	"permissions": [
		"string"
	]
}
```

## Workflow Library Example

[Update Label with Hyperproof and Send Results Via Email](https://library.blinkops.com/workflows/update-label-with-hyperproof-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/update-label-with-hyperproof-and-send-results-via-email/canvas" />
</div>
