| title | Update referenceDefinition |
|---|---|
| description | Update the properties of a referenceDefinition object. |
| author | dakelle |
| ms.localizationpriority | medium |
| ms.subservice | industry-data-etl |
| doc_type | apiPageType |
| ms.date | 06/28/2024 |
Namespace: microsoft.graph.industryData
[!INCLUDE beta-disclaimer]
Update the properties of a referenceDefinition object.
[!INCLUDE national-cloud-support]
Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions only if your app requires it. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference.
[!INCLUDE permissions-table]
PATCH /external/industryData/referenceDefinitions/{referenceDefinitionId}| Name | Description |
|---|---|
| Authorization | Bearer {token}. Required. Learn more about authentication and authorization. |
| Content-Type | application/json. Required. |
[!INCLUDE table-intro]
| Property | Type | Description |
|---|---|---|
| displayName | String | A human-readable representation of the reference code value for display in a user interface. Optional. |
| isDisabled | Boolean | Indicates whether the definition is disabled. Required. |
| sortIndex | Int32 | The index that specifies the order in which to present the definition to the user. Must be unique within the referenceType. Required. |
If successful, this method returns a 204 No Content response code.
The following example shows a request.
PATCH https://graph.microsoft.com/beta/external/industryData/referenceDefinitions/RefGradeLevel-TestGrade
Content-Type: application/json
{
"@odata.type": "#microsoft.graph.industryData.referenceDefinition",
"displayName": "Updated Test Grade Name"
}[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
The following example shows the response.
HTTP/1.1 204 No Content