Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Sv translation
languageja

/api/reports/comments/:id

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

リソース情報

リソースURL 

https://service.belladati.com/api/reports/comments/:id

HTTP方法

DELETE削除

リクエストパラメータ

パラメーター

詳細

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