Last updated 7 months ago
Adds a secret.
Organization ID
OK
Whether the operation succeeded
Optional error description (set if 'success' was false)
Secret ID
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" }