Detach a data disk from Azure

Hi
Iam currently try to remove attached managed disk fro Azure VM . I did not find any command related to data disk detachment . Please help me with the code