From 7c987e786160e65fa14508c51b03046990dae465 Mon Sep 17 00:00:00 2001 From: myarmolinsky Date: Mon, 16 Dec 2024 13:44:11 -0500 Subject: [PATCH] `application.generateProvisioningKey`: Switch to v2 endpoint Requires open-balena-api 34.1.0 Change-type: major --- src/models/application.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/models/application.ts b/src/models/application.ts index dbd80006f..6c3f4c825 100644 --- a/src/models/application.ts +++ b/src/models/application.ts @@ -866,7 +866,7 @@ const getApplicationModel = function ( ).id; const { body } = await request.send({ method: 'POST', - url: '/api-key/v1/', + url: '/api-key/v2/', baseUrl: apiUrl, body: { actorType: 'application',