Check preapproved list for user
GET
/user/preapproved/{user_id}
const url = 'https://example.com/user/preapproved/example';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/user/preapproved/exampleCheck preapproved list for user
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” user_id
required
string
Responses
Section titled “ Responses ”Success
Media type application/json
Describes an authenticated user
object
sample_jwt
A sample jwt for this user from their IDP
string
user_name
required
Unique id of user, from CANDIG_USER_KEY field
string
Example generated
{ "sample_jwt": "example", "user_name": "example"}User not found