List preapproved users
GET
/user/preapproved
const url = 'https://example.com/user/preapproved';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/preapprovedList preapproved users for authorization
Responses
Section titled “ Responses ”Success
Media type application/json
Array<object>
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" }]