Add member
Add a member to an organization.
Authorizations
Path parameters
organizationIdintegerRequired
Organization ID
Body
usernameOrEmailstringRequired
Username or e-mail address
rolestring · enumRequiredPossible values:
datasetsstring[]Required
Only used for 'guest' users. Limits the datasets the user has access to.
Responses
200
OK
application/json
Responseall of
post
POST /v1/api/organizations/{organizationId}/members/add HTTP/1.1
Host: studio.edgeimpulse.com
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 61
{
"usernameOrEmail": "text",
"role": "admin",
"datasets": [
"text"
]
}
200
OK
{
"success": true,
"error": "text",
"id": 1
}
Last updated
Was this helpful?