disable motion detection

Is there a way to disable detection of a camera’s movement through api,rest or homekit? I would like to try to integrate the system into my home automation. Thank you