People an issue can be assigned to
GET
/users
const url = 'http://localhost:8100/api/v1/users';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:8100/api/v1/users \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Users
Media typeapplication/json
object
data
Array<object>
object
id
integer
name
string
email
string format: email
role
string
Example
{ "data": [ { "role": "admin" } ]}