Last updated 10 months ago
Was this helpful?
Change the role of a member in an organization.
/api/organizations/{organizationId}/members/{memberId}/role
Organization ID
Member ID
admin
member
guest
curl -L \ --request POST \ --url 'https://studio.edgeimpulse.com/v1/api/organizations/{organizationId}/members/{memberId}/role' \ --header 'x-api-key: YOUR_API_KEY' \ --header 'Content-Type: application/json' \ --data '{"role":"admin"}'
{ "success": true, "error": "text" }