Last updated 8 months ago
Transfer ownership of a project to another user.
Project ID
Username or e-mail address
OK
Whether the operation succeeded
Optional error description (set if 'success' was false)
const response = await fetch('https://studio.edgeimpulse.com/v1/api/{projectId}/collaborators/transfer-ownership', { method: 'POST', headers: { "Content-Type": "application/json" }, body: JSON.stringify({ "usernameOrEmail": "text" }), }); const data = await response.json();
{ "success": false, "error": "text" }