Deleting specific user

Ops Center Analyzer REST API Reference Guide

Version
11.0.x
Audience
anonymous
Part Number
MK-99ANA003-18

You can delete a specific user. If you use an external authorization server to perform user authentication, you have to manage users on an external authorization server.

Execution permission

User Management

Request line

DELETE baseURL/v1/objects/Users/{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 update 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/Users/USER_146898064241918
Authorization: Basic c3lzdGVtOm1hbmFnZXI=
Host: localhost:22015
Accept: application/json
Content-Type: application/json

[Response Header]
HTTP/1.1 204 No Content
Date: Wed, 20 Jul 2016 02:10:42 GMT
Server: Cosminexus HTTP Server
Cache-Control: no-cache
WWW-Authenticate: HSSO 33659a74fcee4358dc272b34eca6ded1bf1131ec_YXZvNFIMehp3UB4jbmVyPGUgT3Q=_V0810
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Content-Type: application/json