cURL
curl --request POST \ --url https://studio.edgeimpulse.com/v1/api/user/photo \ --header 'Content-Type: multipart/form-data' \ --header 'x-api-key: <api-key>' \ --form photo=@example-file
{ "success": true, "error": "<string>", "url": "<string>" }
Upload a photo for the current user. This function is only available through a JWT token.
OK
Whether the operation succeeded
Optional error description (set if 'success' was false)
Was this page helpful?