Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Removed translated content for 'zh'
Sv translation
languageen

/api/users/:id

Deletes the user specified by ID.

Resource Information

Resource URL

https://service.belladati.com/api/users/:id

HTTP Method

DELETE

 

Request Parameters

Parameter

Detail

Example

idID of the user to update.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/users/123

When the request has been executed successfully, the server replies with an HTTP status code of 200 and an empty body. 

 

Sv translation
languageja

/api/users/:id

IDで指定されたユーザーを削除します。

リソース情報

リソースURL

https://service.belladati.com/api/users/:id

HTTPメソッド

DELETE

リクエストパラメーター

パラメーター
詳細
id更新するユーザーのID123

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

curl使用:



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/users/123

リクエストが正常に実行されると、サーバーはHTTPステータスコード200と空の本文で応答します。