user

List User Roles

Lists the roles a user is directly assigned to, keyset-paginated.

get/management/v1/user/{user_id}/roles

Request

Path parameters

user_idstring required

User ID

Query parameters

pageTokenstring nullable
pageSizeinteger nullable

Upper bound on the number of results returned. Default: 100.

Headers

x-project-idstring nullable

Project ID (optional; falls back to the default project if not provided)

Response

Roles the user is assigned to

next-page-tokenstring nullable

Token for the next page; null/absent once the listing is exhausted. Note for SDK authors: stop when next-page-token is null/absent. The final page of results may itself return a null token, so don't rely on receiving a separate trailing empty page — keep requesting until the token is null.

Changes

No recorded changes to this operation across all 1 revision of this API.