Make version private

Make version private

Make a public version private.

POSThttps://studio.edgeimpulse.com/v1/api/{projectId}/versions/{versionId}/make-private
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}/make-private', {
    method: 'POST',
    headers: {},
});
const data = await response.json();
Response
{
  "success": false,
  "error": "text"
}

Last updated