Get counts of system role users
GET
/api/v1/system-roles/counts
const url = 'http://localhost:3000/api/v1/system-roles/counts';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://localhost:3000/api/v1/system-roles/counts \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations ”Responses
Section titled “ Responses ”Counts of superusers and support users