Hitachi

JP1 Version 12 JP1/Operations Analytics REST API Reference Guide


2.1.5 Deleting Authentication

This API deletes the specified authentication information.

Execution permission

Admin

API version

v1

Request format

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

Request body

Not applicable.

Response body

Not applicable.

Status codes

Status code

Reason phrase

Description

204

No Content

Success.

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/Credentials/7 HTTP/1.1
Host: localhost:22015
User-Agent: curl/7.33.0
Host: localhost:22015
Accept: application/json
Content-Type: application/json
Accept-Language: ja
Authorization: Basic c3lzdGVtOm1hbmFnZXI=

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