---
title: "ListRolesResponse"
url: "https://nov18-dev.movespot.fyi/apis/portal-management-v3-3/versions/209d0e93-97b5-4dd3-a5a4-172ba6d8a51e/schemas/ListRolesResponse"
---

> Full API specification: https://nov18-dev.movespot.fyi/apis/portal-management-v3-3/versions/209d0e93-97b5-4dd3-a5a4-172ba6d8a51e.md

# ListRolesResponse

The set of roles available to associate with resources and assign to teams.

## OpenAPI definition

```yaml
openapi: 3.0.3
info:
  title: Portal Management V3
  version: 3.4.1
servers:
  - url: https://us.api.konghq.com/v3
    description: United-States Production region
  - url: https://eu.api.konghq.com/v3
    description: Europe Production region
  - url: https://au.api.konghq.com/v3
    description: Australia Production region
  - url: https://me.api.konghq.com/v3
    description: Middle-East Production region
  - url: https://in.api.konghq.com/v3
    description: India Production region
  - url: https://sg.api.konghq.com/v3
    description: Singapore Production region
components:
  schemas:
    ListRolesResponse:
      description: The set of roles available to associate with resources and assign
        to teams.
      type: object
      properties:
        services:
          type: object
          properties:
            name:
              type: string
              enum:
                - Services
            roles:
              type: object
              properties:
                apiviewer:
                  type: object
                  properties:
                    name:
                      type: string
                      enum:
                        - API Viewer
                    description:
                      type: string
                      enum:
                        - API Viewers have read-only access to the documentation
                          of a service in a portal
                  required:
                    - name
                    - description
                apiconsumer:
                  type: object
                  properties:
                    name:
                      type: string
                      enum:
                        - API Consumer
                    description:
                      type: string
                      enum:
                        - API Consumers can make calls to the given service
                  required:
                    - name
                    - description
              required:
                - apiviewer
                - apiconsumer
          required:
            - name
            - roles
      example:
        services:
          name: Services
          roles:
            apiviewer:
              name: API Viewer
              description: API Viewers have read-only access to the documentation of a service
                in a portal
            apiconsumer:
              name: API Consumer
              description: API Consumers can make calls to the given service
      required:
        - services
      title: ListRolesResponse
```
