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>"
}
Upload a photo for the current user. This function is only available through a JWT token.
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>"
}
OK
The response is of type object
.