POST
/
api
/
user
/
photo
Upload photo
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>"
}

Authorizations

x-api-key
string
header
required

Body

multipart/form-data
photo
file
required

Response

200 - application/json

OK

success
boolean
required

Whether the operation succeeded

url
string
required
error
string

Optional error description (set if 'success' was false)