How do you get the list of roles for a developer that belongs to companies via the Management API?

Not applicable

Is there a way to get the list of roles a developer has within companies with the management API. A GET request to https://api.enterprise.apigee.com/v1/organizations/{organization}/developers/{developer_email} gives the developer info including a list of all companies they belong to and a GET request to https://api.enterprise.apigee.com/v1/organizations/{organization}/companies/{company}/developers gives a list of all developers in the company and the roles they have. But what if I just want to find out the roles of a specific developer for a specific company? It would seem the associations are all there just without any endpoint to get this data specifically. Essentially what we're looking for is something along the lines of being able to query for a specific user and get back

{
    "developerId": "abcdefg",
    "email": "email@email.com",
    "companies": [
        {
            "name": "test-company",
            "role": "admin"
        }
    ]
}
0 0 111
0 REPLIES 0