Check preapproved list for user
GET
/user/preapproved/{user_id}
const url = 'https://your-candig-domain/ingest/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://your-candig-domain/ingest/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 typeapplication/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
Examplegenerated
{ "sample_jwt": "example", "user_name": "example"}User not found
