Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Sv translation
languageen

/api/reports/comments/:id

Delete comment specified by ID.

Resource Information

Request Parameters

Parameters

Detail

Example

id

ID of the comment to delete.

123

Sample Request / Response

Using curl:

Code Block
curl -X DELETE -H "Authorization: OAuth realm=\"https://service.belladati.com/\", oauth_consumer_key=\"myConsumer\", oauth_token=\"mh7an9dkrg59\", oauth_timestamp=\"135131231\", oauth_nonce=\"randomString\"" https://service.belladati.com/api/reports/comments/123

When the comment has been deleted successfully, the response has the HTTP status code 200 and the content OK.

Sv translation
languageja

/api/reports/comments/:id

IDによって指定されたコメントを削除します。

リソース情報

リクエストパラメータ

パラメーター

詳細

id

削除されるコメントのID

123

サンプルリクエスト/レスポンス

Curl使用:

Code Block
curl -X DELETE -H "Authorization: OAuth realm=\"https://service.belladati.com/\", oauth_consumer_key=\"myConsumer\", oauth_token=\"mh7an9dkrg59\", oauth_timestamp=\"135131231\", oauth_nonce=\"randomString\"" https://service.belladati.com/api/reports/comments/123

コメントが正常に削除された場合、レスポンスはHTTPステータスコード200と「OK」コンテンツを持っている。