get https://{kitEnvironment}.{kitDomain}/{kitBasePath}/accounts//userroles
Fetches all users that have access to the account with roles.
Log in to see full request history
Responses
Fetches all users that have access to the account with roles.
xxxxxxxxxx
curl --request GET \
--url 'https://staging.domain/v1/accounts/accountId/userroles?page=1&limit=100' \
--header 'accept: application/json'
xxxxxxxxxx
16[
{
"role": "owner",
"user": {
"id": "1234",
"firstName": "John",
"lastName": "Doe",
"email": "john.doe@example.com",
"phoneNumber": "+46720000000",
"language": "en",
"username": "savvyEnergyUser",
"ssn": "198904080000",
"orgNumber": "555555-5555"
}
}
]