2.3.5 Deleting Collector
This API deletes the specified collector. However, it cannot delete a collector for a custom application.
Execution permission
Admin
API version
v1
Request format
DELETE http[s]://host:port/Analytics/version/objects/Collectors/{id}
Request body
Not applicable.
Response body
Not applicable.
Status codes
Status code |
Reason phrase |
Description |
---|---|---|
204 |
No Content |
Success. |
400 |
Bad Request |
Resources not to be deleted. |
401 |
Unauthorized |
No login privilege. |
403 |
Forbidden |
No delete privilege. |
404 |
Not Found |
The resource was not found. |
412 |
Precondition Failed |
The server is not available. |
500 |
Internal Server Error |
Server processing error. |
Example code
[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