Last updated 10 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.
/api/users/{userId}/photo
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' \ --data '{"photo":"text"}'
{ "success": true, "error": "text", "url": "text" }