Skip to main content

Get Permissions by Role

GET 

/user-svc/role/:roleId/permissions

Retrieve permissions associated with a specific role ID.

Request

Path Parameters

    roleId stringrequired

    Role ID

Responses

OK

Schema

    permissions

    object[]

  • Array [

  • createdAt string
    description string
    id string

    eg. "user.viewer"

    name string

    eg. "User Viewer"

    ownerId string

    Service who owns the permission

    updatedAt string
  • ]

Loading...