curl --request DELETE \
--url https://studio.edgeimpulse.com/v1/api/user \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"password": "<string>",
"totpToken": "<string>"
}'
{
"success": true,
"error": "<string>"
}
Delete a user. This function is only available through a JWT token, and can only remove the current user.
curl --request DELETE \
--url https://studio.edgeimpulse.com/v1/api/user \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"password": "<string>",
"totpToken": "<string>"
}'
{
"success": true,
"error": "<string>"
}
OK
The response is of type object
.