---
title: "RoleAssignment"
url: "https://nov18-dev.movespot.fyi/apis/internal-pdp-policy-access-point-api-v1-1/versions/38c51035-26bf-4e85-b665-4a699daed68a/schemas/RoleAssignment"
---

> Full API specification: https://nov18-dev.movespot.fyi/apis/internal-pdp-policy-access-point-api-v1-1/versions/38c51035-26bf-4e85-b665-4a699daed68a.md

# RoleAssignment

A role assignment for a subject (user/system account)

## OpenAPI definition

```yaml
openapi: 3.0.3
info:
  title: Internal PDP Policy Access Point API v1
  version: 1.0.2
servers:
  - url: http://authorization-pap-api.kauth.svc.cluster.local:8000/v1
    description: Konnect cluster
components:
  schemas:
    RoleAssignment:
      description: A role assignment for a subject (user/system account)
      type: object
      properties:
        id:
          description: Unique identifier of the role assignment
          type: string
          format: uuid
        role_krn:
          description: Kong Resource Name of the role
          type: string
        role_name:
          description: Display name of the assigned role
          type: string
        region:
          description: Region where the role applies
          type: string
        resource:
          description: Resource identifier
          type: string
        entity_type_name:
          description: Entity type name associated with the role
          type: string
      required:
        - id
        - role_krn
        - region
        - resource
        - entity_type_name
        - role_name
```
