Hitachi

JP1 Version 12 JP1/Operations Analytics REST API Reference Guide


2.8.5 Delete User Profiles

This API deletes the specified user profile. The default user profile is reassigned to the monitored resource to which the deleted user profile is assigned.

Execution permission

Admin, Modify

API version

v1

Request format

DELETE http[s]://host:port/Analytics/version/objects/UserThresholdProfiles/{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 /Analytics/v1/objects/UserThresholdProfiles/63 HTTP/1.1
Authorization: Basic c3lzdGVtOm1hbmFnZXI=
User-Agent: curl/7.33.0
Host: localhost:22015
Accept: application/json
Accept-Language: ja


[Response Header]
HTTP/1.1 204 No Content
Date: Fri, 27 Nov 2015 11:24:22 GMT
Server: Cosminexus HTTP Server
Cache-Control: no-cache
WWW-Authenticate: HSSO ca54892ac23952deaf9c5aa71d7eb117d5f5e0c1_WVlGcHsLfg5ffg0I_V0810
X-Frame-Options: SAMEORIGIN
Content-Length: 0
Content-Type: application/json