v1

latestOpenAPI 3.1.02026-07-2618690613.4 KB
User model roles

Retrieve user model roles

Retrieve the model role assignments for a user. This includes both direct role assignments and roles inherited from user group memberships.

get/v1/users/{userId}/model-roles

Path parameters

userIdstring uuid required

The ID of the user to retrieve model roles for.

Query parameters

modelIdstring uuid

Filter results to a specific model ID. If not provided, returns roles for all models the user has access to.

connectionIdstring uuid

Filter results to models from a specific connection. If not provided, returns roles for all connections.

Response

User model roles retrieved successfully.

membershipIdstring uuid

The ID of the user's membership in the organization.