opened
kunalkushwaha
username_0
Hi,

I am trying to use [RebuildByImageID(id, ImageID)](https://github.com/digitalocean/godo/blob/master/droplet_actions.go#L135) for creating a droplet from snapshot image.

Problem I am facing is with `id` param passed in API, it gives error, 
```
POST https://api.digitalocean.com/v2/droplets/6370882/actions: 404 The resource you were accessing could not be found
```

What should be the value passed in `id` ?
Issue with RebuildByImageID() API.
issue
created
bryanl
username_1
You should use the id of the the droplet. You can see a sample of the JSON returned at https://developers.digitalocean.com/documentation/v2/#retrieve-an-existing-droplet-by-id.
comment
closed
kunalkushwaha
username_0
issue
created
kunalkushwaha
username_0
Thanks for answer. I understood the issue.

Actually got confused in recreating droplet from snapshot image vs restoring droplet to a backup image.

Closing the issue.
comment