curl --request POST \
--url https://studio.edgeimpulse.com/v1/api/organizations/{organizationId}/members/{memberId}/role \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"role": "admin"
}'
{
"success": true,
"error": "<string>"
}
Change the role of a member in an organization.
curl --request POST \
--url https://studio.edgeimpulse.com/v1/api/organizations/{organizationId}/members/{memberId}/role \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"role": "admin"
}'
{
"success": true,
"error": "<string>"
}
OK
The response is of type object
.