User model roles

Retrieve user model roles

Changed on

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

Request

  • Base URL
    https://blobsrus.omniapp.co/api
  • URL
    https://blobsrus.omniapp.co/api/v1/users/{userId}/model-roles
  • Auth
    HTTP bearer

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.

Changes

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • info

      added the non-success response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status