dots-wrapper
Version:
Digital Ocean v2 api wrapper - javascript - typescript - nodejs
10 lines • 439 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.updateAgentKey = void 0;
const updateAgentKey = ({ httpClient }) => ({ agent_uuid, api_key_uuid, name, enabled }) => {
const url = `/gen-ai/agents/${agent_uuid}/api_keys/${api_key_uuid}`;
const body = { name, enabled };
return httpClient.put(url, body);
};
exports.updateAgentKey = updateAgentKey;
//# sourceMappingURL=update-agent-key.js.map