curl --request POST \
--url https://studio.edgeimpulse.com/v1/api/{projectId}/hmackeys \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"name": "<string>",
"hmacKey": "<string>",
"isDevelopmentKey": true
}'
{
"success": true,
"error": "<string>",
"id": 123
}
Add an HMAC key. If you set developmentKey
to true
this flag will be removed from the current development HMAC key.
curl --request POST \
--url https://studio.edgeimpulse.com/v1/api/{projectId}/hmackeys \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"name": "<string>",
"hmacKey": "<string>",
"isDevelopmentKey": true
}'
{
"success": true,
"error": "<string>",
"id": 123
}
Project ID
OK
The response is of type object
.