cURL
curl --request POST \ --url https://studio.edgeimpulse.com/v1/api/users/{userId}/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 a user. This function is only available through a JWT token, and is not available for all users.
User ID
OK
Whether the operation succeeded
Optional error description (set if 'success' was false)
Was this page helpful?