API Documentation - Delete Family

Endpoint

POST /fam1/delete

Parameters

The following parameter must be included in the request:

Parameter Type Description Required
id int The ID of the family to delete Yes

Response

The response is a JSON object containing the following fields:

{
    "success": "true or false",
    "message": "Description of the response"
}

Error Handling

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

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

Example Request

POST /fam1/delete
Content-Type: application/json

{
    "id": 1
}

Example Response

{
    "success": true,
    "message": "Deleted successfully"
}