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 name

Delete a user by name

Deletes a user specified by their name.

Resource URL

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

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

Request

Parameters
Version 4.0
Version 4.1 and later

For Cloud Cruiser 4.1 and later, use the following parameters:

  Name Type Description
URL query parameters (required) userName string The name of the user to delete. In the Users page of the HPE Consumption Analytics Portal Portal, this is the Username.
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?userName=Mary

Java invocation
Response body

Successfully deleted user with name Mary

Last modified

Tags

Classifications

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