cURL
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.
developmentKey
true
Project ID
Description of the key
HMAC key.
Whether this key should be used as a development key.
OK
Whether the operation succeeded
Unique identifier of the created entity.
Optional error description (set if 'success' was false)
Was this page helpful?