Home > Cloud Cruiser 3 > REST API reference > Customers > Delete a customer by ID

Delete a customer by ID

Deletes the customer specified by their ID.

URL syntax

http://<ccServerURL>/rest/v1/customers/customer/<id>?deleteTransactions=[true/false]

HTTP method

DELETE

Request

URL path parameters (required)

id (type: int )

URL query parameters (optional)
?deleteTransactions=[true|false]

Default: false

Request body

None

Response

Content-Type
text/plain
Response body

A statement of whether the deletion is successful.

JAXB type
codeycodeycode

Example

URL
http://localhost:8080/rest/v1/customers/customer/10400?deleteTransactions=true
Response body
Successfully deleted the customer with id 10400
Java
String msg = customerServiceProxy.deleteCustomer(10400);
Last modified

Tags

This page has no custom tags.

Classifications

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