GET
/v2/public/scope-info/rolesList user roles and their scopes
Lists available user roles and the scopes associated with each role. Use the returned mapping to inspect permissions such as translations.view and keys.edit when determining which scopes are assigned to a role.
200Returns a mapping of user roles to their scope arrays, including scopes such as `translations.view` and `keys.edit`.
400Returned when the request is invalid.
codestringrequired
paramsarray<object>optional
401Returned when authentication is missing or invalid.
codestringrequired
paramsarray<object>optional
403Returned when the authenticated user does not have access to this resource.
codestringrequired
paramsarray<object>optional
404Returned when the requested resource is not found.
codestringrequired
paramsarray<object>optional
Error handling
A 400 indicates an invalid request, a 401 indicates missing or invalid authentication, a 403 indicates insufficient access, and a 404 indicates that the requested resource was not found. Inspect the roles mapping to see the scopes available for each role.