curl --request POST \
--url https://studio.edgeimpulse.com/v1/api/organizations/{organizationId}/members/add \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"usernameOrEmail": "<string>",
"role": "admin",
"datasets": [
"<string>"
]
}'
{
"success": true,
"error": "<string>",
"id": 123
}
Add a member to an organization.
curl --request POST \
--url https://studio.edgeimpulse.com/v1/api/organizations/{organizationId}/members/add \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"usernameOrEmail": "<string>",
"role": "admin",
"datasets": [
"<string>"
]
}'
{
"success": true,
"error": "<string>",
"id": 123
}
Organization ID
OK
The response is of type object
.