Disable active directory rest api

Is there a way to disable active directory through rest api?