Skip to main content

Get user role pairings

GET 

/user_roles

This endpoint can retrieve user role pairings from Lifecycle or you can search for user role pairings using parameters

Request

Query Parameters

    query object

    Allows for pagination and sorting.

    user_id uuid

    The ID of a user for filtering

    role_id uuid

    The ID of a role for filtering

    metadata boolean

    Returns batching metadata in the response

Responses

Expected response to a valid request

Schema
    user_roles object[]
  • Array [
  • id uuid
    uid string

    Possible values: >= 32 characters and <= 32 characters

    user_id uuid
    role_id uuid
  • ]
  • _metadata object
    limit integer
    offset integer
    total integer
    next string
    previous string
Loading...