Add preapproved users
POST
/user/preapproved
const url = 'https://example.com/user/preapproved';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '["example"]'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/user/preapproved \ --header 'Content-Type: application/json' \ --data '[ "example" ]'Add bulk preapproved users for CanDIG access
Request Body
Section titled “Request Body ” Media type application/json
Array<string>
Example generated
[ "example"]Responses
Section titled “ Responses ”Success