Add, remove, or set classifications and metadata on comments in the responding system.
Append classifications to a comment, deduplicating existing values.
| Parameter | Type | Required | Description |
|---|
commentId | string | Yes | ID of the comment to update |
classifications | array | Yes | Classification labels to add |
| Parameter | Type | Description |
|---|
classifications | array | Updated classifications array |
Remove specific classifications from a comment.
| Parameter | Type | Required | Description |
|---|
commentId | string | Yes | ID of the comment to update |
classifications | array | Yes | Classification labels to remove |
| Parameter | Type | Description |
|---|
classifications | array | Updated classifications array |
Overwrite all classifications on a comment.
| Parameter | Type | Required | Description |
|---|
commentId | string | Yes | ID of the comment to update |
classifications | array | Yes | Classification labels to set |
| Parameter | Type | Description |
|---|
classifications | array | Updated classifications array |
Overwrite the metadata object on a comment.
| Parameter | Type | Required | Description |
|---|
commentId | string | Yes | ID of the comment to update |
metadata | json | Yes | Metadata object to set |
| Parameter | Type | Description |
|---|
metadata | json | Updated metadata object |
Add new fields into the existing metadata object on a comment.
| Parameter | Type | Required | Description |
|---|
commentId | string | Yes | ID of the comment to update |
metadata | json | Yes | Metadata fields to add |
| Parameter | Type | Description |
|---|
metadata | json | Updated metadata object |
Remove all metadata from a comment by setting it to null.
| Parameter | Type | Required | Description |
|---|
commentId | string | Yes | ID of the comment to delete metadata from |
| Parameter | Type | Description |
|---|
metadata | json | Metadata value after deletion (null) |