Is there any way (using REST APIs) to get the list of users based on who have added that user in Azure APIM ? for example: if there is 5 users added in an apim instance , out of which 2 were added by me . Then the API should return me the records of those 2 users only.
I was trying with this API: GET GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/users?api-version=2021-08-01
but not sure about how to filter the response in the way I need it.
Any help will be much appreciated!!!
CodePudding user response:
We have the Rest APIs to get the user information based on userid
and we can list the users based on filters like name, first name, last name, email, state, note, group.
but we do not have a Rest API call for fetching the users based on created by
parameter because this information is not logged as the users can be either added automatically under users when they signed up in the APIM developer portal or created from the portal.
I would suggest raising the feature request on the Azure APIM feedback site and the other users who need this similar feature can upvote it which will take it forward to the Microsoft.