POST
/
api
/
{projectId}
/
hmackeys
Add 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
}

Authorizations

x-api-key
string
header
required

Path Parameters

projectId
integer
required

Project ID

Body

application/json
name
string
required

Description of the key

hmacKey
string
required

HMAC key.

isDevelopmentKey
boolean
required

Whether this key should be used as a development key.

Response

200 - application/json

OK

success
boolean
required

Whether the operation succeeded

id
integer
required

Unique identifier of the created entity.

error
string

Optional error description (set if 'success' was false)