White Label Admin - Delete an organization

White Label Admin - Delete an organization

White label admin only API to delete an organization.

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

Organization ID

innerOrganizationId*integer

Organization ID within the context of a white label

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/organizations/{innerOrganizationId}', {
    method: 'DELETE',
    headers: {},
});
const data = await response.json();
Response
{
  "success": false,
  "error": "text"
}

Last updated