• Document Up to Date

Delete Comment Attributes

Deletes attributes for the given comment.

Resource Information

This service uses the tomcat application on port 8080 by default. To see a list of default ports click here

The context for this API is /crafter-social, please prefix the API URLs with this context.

HTTP Verb
DELETE
URL
/api/3/comments/:id/attributes
Response Formats
JSON
HTTP Verb
POST
URL
/api/3/comments/:id/attributes/delete
Response Formats
JSON

Parameters

Name
Type
Required
Description
context
String
The ID of the Social Context
id
String
The ID of the comment to update
attributes
String
List of attribute names to delete

Example

Request

DELETE .../api/3/comments/59678d3f300426156e21df50/attributes?context=f5b143c2-f1c0-4a10-b56e-f485f00d3fe9
attributes=custom.property,second.property

Response

Status 200 OK

1true

Responses

Status
Location
Response Body
200

See example above.
400





{ "message" : "Given UGC Id is not valid" }
401

{ "message" : "User must be logged in" }
403







{ "message" : "Current subject does not have
permission to execute global action ..." }
500

{ "message" : "Internal server error" }