Legacy Dev Forum Posts

 View Only

Sign Up

Identify UNKNOWN Subject Grant

  • 1.  Identify UNKNOWN Subject Grant

    Posted 06-05-2025 18:22

    Adrian_Santamaria | 2022-04-27 11:42:52 UTC | #1

    Hello

    The GET /api/v2/authorization/roles/{roleId}/subjectgrants documentation says that the subject types can be one of PC_USER, PC_GROUP, PC_OAUTH_CLIENT, PC_TRUSTEE_USER, PC_TRUSTEE_GROUP, UNKNOWN.

    I did some tests and sometimes I got those UNKNOWN subjects, so my question is: How can I identify what they are? I have their IDs, but I do not know what entity type they correspond to.

    What entities can you grant roles to besides Users, Groups and OAuth Clients?


    tim.smith | 2022-04-27 16:05:31 UTC | #2

    I don't think that getting UNKNOWN is a normal case. Because this relates to customer-specific data in your org, I cannot access it to investigate what those records are referring to. Please open a case with Genesys Cloud Care to investigate the potentially incorrect data in your org.


    system | 2022-05-28 15:41:53 UTC | #3

    This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 14480