curl --request GET \
--url https://studio.edgeimpulse.com/v1/api-user-need-to-set-password/{usernameOrEmail}
{
"success": true,
"error": "<string>",
"email": "<string>",
"needPassword": true,
"whitelabels": [
"<string>"
],
"trials": [
{
"id": 123,
"userId": 123,
"organizationId": 123,
"created": "2023-11-07T05:31:56Z",
"expirationDate": "2020-01-01T00:00:00Z",
"notes": "This is a trial for the company's new project.",
"expiredDate": "2023-11-07T05:31:56Z",
"deletedDate": "2023-11-07T05:31:56Z",
"upgradedDate": "2023-11-07T05:31:56Z"
}
],
"emailVerified": true,
"idps": [
"okta",
"google"
]
}
Tells whether a user is registered and whether it needs to set its password.
curl --request GET \
--url https://studio.edgeimpulse.com/v1/api-user-need-to-set-password/{usernameOrEmail}
{
"success": true,
"error": "<string>",
"email": "<string>",
"needPassword": true,
"whitelabels": [
"<string>"
],
"trials": [
{
"id": 123,
"userId": 123,
"organizationId": 123,
"created": "2023-11-07T05:31:56Z",
"expirationDate": "2020-01-01T00:00:00Z",
"notes": "This is a trial for the company's new project.",
"expiredDate": "2023-11-07T05:31:56Z",
"deletedDate": "2023-11-07T05:31:56Z",
"upgradedDate": "2023-11-07T05:31:56Z"
}
],
"emailVerified": true,
"idps": [
"okta",
"google"
]
}
Username or email
OK
The response is of type object
.