Auth0 Home Blog Docs

Can you get a Client based on Name using ManagementApiClient?

auth0
api

#1

Hi,

Is there a way to get a Client using the .net ManagementApiClient based on the Client name?

It seems the API only supports get all using GetAllAsync and get by ClientId using GetAsync.

Thanks!


#2

Hi there, The Management APIv2 does not support searching for Clients by Name. You can search all clients like so https://{{auth0_domain}}/api/v2/clients?fields=name,client_id From the JSON result, you then search for your client name and get the client_id of it and then use it to get the complete client details using this endpoint.