API Documentation - Delete Customer Account

Endpoint

GET /customer/deleteaccount/

Parameters

The following query parameter is required in the request:

  • idMembre: The ID of the member whose account is to be deleted.

Response

The response is a JSON object containing the following fields:

{
    "success": "true or false",
    "message": "Description of the response",
    "result": {
        "guid": "Generated unique identifier for the request"
    }
}

Error Handling

If an error occurs, the response will contain the following fields:

{
    "success": "false",
    "message": "Error description"
}

Example Request

GET /customer/deleteaccount/?idMembre=12345

Example Response

{
    "success": "true",
    "message": "Customer account deleted",
    "result": {
        "guid": "unique-identifier"
    }
}