Loading...
Change the role of a member in an organization.
Organization ID
Member ID
OK
Whether the operation succeeded
Optional error description (set if 'success' was false)
const response = await fetch('https://studio.edgeimpulse.com/v1/api/organizations/{organizationId}/members/{memberId}/role', { method: 'POST', headers: { "Content-Type": "application/json" }, body: JSON.stringify({ "role": "admin" }), }); const data = await response.json();
{ "success": false, "error": "text" }