Last updated 8 months ago
Adds a secret.
Organization ID
OK
Whether the operation succeeded
Optional error description (set if 'success' was false)
Unique identifier of the created entity.
const response = await fetch('https://studio.edgeimpulse.com/v1/api/organizations/{organizationId}/secrets', { method: 'POST', headers: { "Content-Type": "application/json" }, body: JSON.stringify({ "name": "text", "description": "text", "secret": "text" }), }); const data = await response.json();
{ "success": false, "error": "text", "id": 0 }