Skip to content
atlassian-dc-mcp
Esc
↑↓navigate↵open⌘Jpreview

Delete a property from a comment

Removes the property from the comment identified by the key or by the id. Ths user removing the property is required to have permissions to administer the comment.

DELETE/api/2/comment/{commentId}/properties/{propertyKey}
Authorization
AuthorizationBasic auth · headerrequired

In order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.

or
AuthorizationBearer token · headerrequired

Personal Access Token — Administration > Profile > Personal Access Tokens

AuthorizationBasic auth · headerrequired

In order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.

Path parameters
propertyKeystringrequired

the key of the property to remove.

commentIdstringrequired

the comment from which the property will be removed.

Responses
204

Returned if the comment property was removed successfully.

400

Returned if the comment key or id is invalid.

401

Returned if the calling user is not authenticated.

403

Returned if the calling user does not have permission to edit the comment.

404

Returned if the comment with given key or id does not exist or if the property with given key is not found.

Try it
Server
Authorization
Parameters
Request
curl -X DELETE 'http://jira.example.com/rest/api/2/comment/string/properties/string' \
  -H 'Authorization: Basic YOUR_CREDENTIALS'
Response
Returned if the comment property was removed successfully.

Was this page helpful?