UNPKG

dots-wrapper

Version:

Digital Ocean v2 api wrapper - javascript - typescript - nodejs

11 lines 447 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.resetDropletPassword = void 0; const resetDropletPassword = ({ httpClient, }) => ({ droplet_id, }) => { const url = `/droplets/${droplet_id}/actions`; const type = 'password_reset'; const body = { type }; return httpClient.post(url, body); }; exports.resetDropletPassword = resetDropletPassword; //# sourceMappingURL=reset-droplet-password.js.map