List users with access
Each user (local or OIDC) whose role on the service is viewer or higher: from the default role, from a grant, or both. A disabled user is in the list too.
GET
/api/v1/database-services/{id}/accessAuthorization
tse_sessionAPI key · cookierequiredPath parameters
idstringrequiredResponses
200
OK
Array of
ServiceAccessResponsedefault_rolestringrequiredThe role of the user on the whole console
Allowed:
nonevieweroperatoradmindisabledbooleanrequireddisplay_namestringrequiredgrant_rolestringThe grant of the user on this service, if any
Allowed:
vieweroperatorrolestringrequiredThe role on this service: the higher of default_role and grant_role
Allowed:
vieweroperatoradminuser_idstringrequiredusernamestringrequireddefault
Error
codestringStable code of the refusal, when the route has codes
detailsstring[]Additional detail, e.g. per-field validation failures
errorstringrequiredHuman-readable error message