Closed shirey closed 2 months ago
The endpoint has been modified to send a status_code of 401 if the "User's token is not valid" (as per the ingest-api-spec.yaml file). For a valid logged in token it will return the json {'has_data_admin_privs': true/false} with a status_code of 200.
Replicate/port
/privs/has-data-admin
from SenNet ingest-api