Add HMAC key

Add HMAC key

post

Add an HMAC key. If you set developmentKey to true this flag will be removed from the current development HMAC key.

Authorizations
Path parameters
projectIdintegerRequired

Project ID

Body
namestringRequired

Description of the key

hmacKeystringRequired

HMAC key.

isDevelopmentKeybooleanRequired

Whether this key should be used as a development key.

Responses
200
OK
application/json
Responseall of
post
POST /v1/api/{projectId}/hmackeys HTTP/1.1
Host: studio.edgeimpulse.com
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 56

{
  "name": "text",
  "hmacKey": "text",
  "isDevelopmentKey": true
}
200

OK

{
  "success": true,
  "error": "text",
  "id": 1
}

Last updated

Was this helpful?