cURL
curl --request POST \ --url https://studio.edgeimpulse.com/v1/api/{projectId}/jobs/restore \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data '{ "projectId": 123, "projectApiKey": "<string>", "versionId": 123 }'
{ "success": true, "error": "<string>" }
Restore a project to a certain version. This can only applied to a project without data, and will overwrite your impulse and all settings.
Project ID
Source project ID
Source project API key
Source project version ID
OK
Whether the operation succeeded
Optional error description (set if 'success' was false)
Was this page helpful?