Hitachi

JP1 Version 11 JP1/Operations Analytics REST APIリファレンス


2.3.5 コレクターの削除

指定したコレクターを削除します。ただし、任意のアプリケーションのコレクターは削除できません。

権限

Admin

APIのバージョン

v1

リクエスト形式

DELETE http[s]://host:port/Analytics/version/objects/Collectors/{id}

リクエストボディー

リクエストボディーには何も設定しません。

レスポンスボディー

レスポンスボディーは出力されません。

ステータスコード

HTTPステータスコード

Reason phrase

説明

204

No Content

正常終了

400

Bad Request

削除対象外のリソース

401

Unauthorized

ログイン権限がない

403

Forbidden

削除権限がない

404

Not Found

リソースが存在しない

412

Precondition Failed

サーバーが起動していない

500

Internal Server Error

サーバーサイドエラー

使用例

[Request Header]
DELETE http://localhost:22015/Analytics/v1/objects/Collectors/0 HTTP/1.1
User-Agent: curl/7.33.0
Host: localhost:22015
Accept: application/json
Content-Type: application/json
Accept-Language: ja
Content-Type: application/json
Authorization: Basic c3lzdGVtOm1hbmFnZXI=

[Response Header]
HTTP/1.1 204 No Content
Date: Wed, 07 Dec 2016 10:27:46 GMT
Server: Cosminexus HTTP Server
Cache-Control: no-cache
WWW-Authenticate: HSSO d5133e9e3ece3f258eda94ad4ed3fc2c8e7eda63_Vlo8Y30Idn8EY0BdB3IEfwgabiA=_V0810
X-Frame-Options: SAMEORIGIN
Content-Length: 0
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Type: application/json