Edit Agent Comment
PUT
/v2/api/agent/{agent_id}/comment/{comment_id}
Agent Comment
Overview
Functionality
agent_id
and comment_id
to identify the specific comment to be edited.How to Find Your Agent ID
agent_id
, follow this guide:How to View Agent ID
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT '/v2/api/agent//comment/' \
--header 'Content-Type: application/json' \
--data-raw '{
"comment": "I am edited Comment"
}'
Response Response Example
200 - Example 1
{
"success": true,
"message": "Comment updated successfully",
"data": {
"id": 24,
"user": {
"id": 16,
"email": "user@example.com",
"is_staff": true,
"is_superuser": true,
"is_active": true,
"date_joined": "2024-01-30T17:23:41.663281Z",
"first_name": "user",
"last_name": "user",
"organization": {
"id": 1,
"org_name": "Data Science Dojo",
"domain": "datasciencedojo.com",
"description": "",
"org_logo_url": null,
"org_icon_url": null,
"is_deleted": false,
"created_by": "System",
"created_on": "2024-01-20T01:32:56.659642Z",
"modified_by": "user@example.com",
"modified_on": "2024-01-20T01:32:56.659663Z"
}
},
"comment": "I am edited Comment",
"submit_date": "2025-04-02T20:56:16.332786Z",
"is_public": true,
"is_removed": false,
"agent": {
"id": 1297,
"agent_name": "FC Barca"
}
}
}
Request
Path Params
agent_id
integerÂ
required
Example:
1297
comment_id
integerÂ
required
Example:
24
Body Params application/json