Problem in claiming a device

I have created one product and few customers. I have a device and I wanted to map that device with a customer . I created a device claim code by using Cloud API but I am not sure now what to do after i get claim_code value. I tried by directly using deviceId for claiming it using clould api but i have not seen any api endpoints to claim using the claim code. Are there any other options for claiming a device using web api?