---
title: "AccessRight"
url: "https://dev.developer-internal.sanofi.com/apis/plta-permissions-api-cbz/versions/88cdfef8-3b56-44ca-883d-5b15378e5a3a/schemas/AccessRight"
---

> Full API specification: https://dev.developer-internal.sanofi.com/apis/plta-permissions-api-cbz/versions/88cdfef8-3b56-44ca-883d-5b15378e5a3a.md

# AccessRight

the combinaison of a profile and a resource (which can be a top resource in a hierarchy or a base resource).

## OpenAPI definition

```yaml
openapi: 3.1.0
info:
  title: Permission Administration API
  version: 1.5.0
servers:
  - url: https://dev.api.sanofi.com/permissions
components:
  schemas:
    AccessRight:
      description: the combinaison of a profile and a resource (which can be a top
        resource in a hierarchy or a base resource).
      properties:
        accessRightId:
          description: the unique identifier of the access right, mostly for deletion
            purpose.
          format: uuid
          readOnly: true
          type: string
        actionName:
          description: Name of the action.
          examples:
            - read_narrative
            - write_compound
          type: string
        resourceName:
          description: Name of the resource.
          examples:
            - compound_1245
          type: string
        userId:
          description: The id of the user, as stored in IDP. For Sanofi internal user, it
            would be the oid (Unique identifier of the user in Azure AD)
          type: string
      required:
        - userId
        - resourceName
        - actionName
      type: object
```
