White Label Admin - Update deployment targets

White Label Admin - Update deployment targets

White label admin only API to update some or all of the deployment targets enabled for this white label.

POSThttps://studio.edgeimpulse.com/v1/api/organizations/{organizationId}/whitelabel/deploymentTargets
Path parameters
organizationId*integer

Organization ID

Body
targetsarray of string

The names of the deployment targets that are enabled for this whitelabel.

Response

OK

Body
success*boolean

Whether the operation succeeded

errorstring

Optional error description (set if 'success' was false)

Request
const response = await fetch('https://studio.edgeimpulse.com/v1/api/organizations/{organizationId}/whitelabel/deploymentTargets', {
    method: 'POST',
    headers: {
      "Content-Type": "application/json"
    },
    body: JSON.stringify({}),
});
const data = await response.json();
Response
{
  "success": false,
  "error": "text"
}

Last updated