curl --request POST \
--url https://studio.edgeimpulse.com/v1/api/users/{userId}/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 a user. This function is only available through a JWT token, and is not available for all users.
curl --request POST \
--url https://studio.edgeimpulse.com/v1/api/users/{userId}/photo \
--header 'Content-Type: multipart/form-data' \
--header 'x-api-key: <api-key>' \
--form photo=@example-file
{
"success": true,
"error": "<string>",
"url": "<string>"
}
User ID
OK
The response is of type object
.