Clear metadata by key (multiple samples)

Clear metadata by key (multiple samples)

Clears a specific metadata field (by key) for multiple samples.

POSThttps://studio.edgeimpulse.com/v1/api/{projectId}/raw-data/batch/clear-metadata-by-key
Path parameters
projectId*integer

Project ID

Query parameters
Body
metadataKey*string
Response

OK

Body
any of
Request
const response = await fetch('https://studio.edgeimpulse.com/v1/api/{projectId}/raw-data/batch/clear-metadata-by-key?category=training', {
    method: 'POST',
    headers: {
      "Content-Type": "application/json"
    },
    body: JSON.stringify({
      "metadataKey": "text"
    }),
});
const data = await response.json();
Response
{
  "success": false,
  "error": "text"
}

Last updated