Last updated 11 months ago
Was this helpful?
Add a member to an organization.
Organization ID
Username or e-mail address
admin
member
guest
Only used for 'guest' users. Limits the datasets the user has access to.
curl -L \ --request POST \ --url 'https://studio.edgeimpulse.com/v1/api/organizations/{organizationId}/members/add' \ --header 'x-api-key: YOUR_API_KEY' \ --header 'Content-Type: application/json' \ --data '{ "usernameOrEmail": "text", "role": "admin", "datasets": [ "text" ] }'
{ "success": true, "error": "text", "id": 1 }