Cloud Cruiser became HPE Consumption Analytics on Nov. 1st. You'll still see the old name in places while we update this site.

 

 

Consumption Analytics Documentation

Home > Cloud Cruiser 4 > REST API reference > Users and user groups > Delete a user by ID

Delete a user by ID

Deletes a user specified by their database ID.

Resource URL

In version 4.0: DELETE http://<ccServerURL>/rest/v2/users/<userId>

In version 4.1 and later: DELETE http://<ccServerURL>/rest/v2/ccusers/users/<userId>

Request

Parameters
  Name Type Description
URL path parameters (required) userId integer The ID of the user to delete. This is not the Username field in the Users page of the HPE Consumption Analytics Portal Portal used for logging in, but the ID of the user record in the database.
Body

None

Response

Content-Type

text/plain

Body

A statement of whether the deletion is successful.​

Example

URL invocation

DELETE http://localhost:8080/rest/v2/ccusers/users​​/10002

Java invocation
Response body

Successfully deleted user with id 10002

Last modified

Tags

Classifications

This page has no classifications.
© Copyright 2018 Hewlett Packard Enterprise Development LP