Delete user account

Please use this (https://www.citizen.green/mobile_api/delete_account) API for access remove user account endpoint


Post parameters

Field Value Remarks
session_id ​Access token ID E.g. de25cc16eb00960f076...
password ​Current user password E.g. secret123

Success response

{
	"code": 200,
	"valid": true,
	"message": "Account deleted successfully",
	"data": []
}

Error responses

{
    "code": 401,
    "data": [],
    "message": "Unauthorized Access"
}

{
	"code": 400,
	"err_code": "invalid_request_data",
	"message": "Account password is missing or invalid",
	"data": []
}