/[commentID]/update: Update Comment

URL:
https://[root]/content/items/[itemID]/comments/[commentID]/update
Methods:
POST

Example Usage

URL for Update Comment

Use dark colors for code blocksCopy
1
2
3
https://www.arcgis.com/sharing/rest/content/items/a50b5179b49a4256a248c7b5ffb82dd7/comments/ 0d59cee0f5394417a9a218a5038905eb/update
Comment= This map is very accurate. I was able to find the right bike
route to my destination. I did notice that Alpine Street was mislabeled.

Description

Updates a comment (POST only). Available only to the authenticated user who created the comment.

Request Parameters

ParameterDetails

[Common Parameters]

For a complete listing, see Common parameters.

comment

Updated comment text.

Response Properties

PropertyDetails

success

Set to true if the comment was updated successfully.

commentId

The ID of the updated comment.

JSON Response Syntax

Use dark colors for code blocksCopy
1
2
3
4
{
  "success": true | false,
  "commentId": "<comment id>"
}

JSON Response Example

Use dark colors for code blocksCopy
1
2
3
4
{
  "success": true,
  "commentId": "0d59cee0f5394417a9a218a5038905eb"
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.