Remove HMAC key

Remove HMAC key

Revoke an HMAC key. Note that if you revoke the development key some services (such as automatic provisioning of devices through the serial daemon) will no longer work.

DELETEhttps://studio.edgeimpulse.com/v1/api/{projectId}/hmackeys/{hmacId}
Path parameters
projectId*integer

Project ID

hmacId*integer

Hmac key ID

Response

OK

Body
success*boolean

Whether the operation succeeded

errorstring

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

Request
const response = await fetch('https://studio.edgeimpulse.com/v1/api/{projectId}/hmackeys/{hmacId}', {
    method: 'DELETE',
    headers: {},
});
const data = await response.json();
Response
{
  "success": false,
  "error": "text"
}

Last updated