Delete versions

Delete versions

Delete a version. This does not delete the version from cold storage.

DELETEhttps://studio.edgeimpulse.com/v1/api/{projectId}/versions/{versionId}
Path parameters
projectId*integer

Project ID

versionId*integer

Version ID

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

Last updated