Upload photo
Upload a photo for a user. This function is only available through a JWT token, and is not available for all users.
Authorizations
Path parameters
userIdintegerRequired
User ID
Body
photostring · binaryRequired
Responses
200
OK
application/json
Responseall of
post
POST /v1/api/users/{userId}/photo HTTP/1.1
Host: studio.edgeimpulse.com
x-api-key: YOUR_API_KEY
Content-Type: multipart/form-data
Accept: */*
Content-Length: 18
{
"photo": "binary"
}
200
OK
{
"success": true,
"error": "text",
"url": "text"
}
Last updated
Was this helpful?