curl --request POST \
--url https://studio.edgeimpulse.com/v1/api/organizations/{organizationId}/apikeys \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"name": "<string>",
"apiKey": "<string>",
"role": "admin"
}'
{
"success": true,
"error": "<string>",
"id": 123,
"apiKey": "<string>"
}
Add an API key.
curl --request POST \
--url https://studio.edgeimpulse.com/v1/api/organizations/{organizationId}/apikeys \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"name": "<string>",
"apiKey": "<string>",
"role": "admin"
}'
{
"success": true,
"error": "<string>",
"id": 123,
"apiKey": "<string>"
}
Organization ID
OK
The response is of type object
.