Last updated 11 months ago
Was this helpful?
Upload a photo for a user. This function is only available through a JWT token, and is not available for all users.
User ID
curl -L \ --request POST \ --url 'https://studio.edgeimpulse.com/v1/api/users/{userId}/photo' \ --header 'x-api-key: YOUR_API_KEY' \ --header 'Content-Type: multipart/form-data' \ --form 'photo=binary'
{ "success": true, "error": "text", "url": "text" }