REST API Path Question

I’m working with the REST API.

According to the docs (

  • Base URL = /auth

I’m attempting to retrieve the list of clients for a tenant (

The docs say GET /{realm}/clients, so I assumed it was /auth/realms/{realm}/clients

This doesn’t work, neither does /auth/{realm}/clients

What DOES work is /auth/admin/realms/{realm}/clients (picked this up from the browser inspector).

Is this the proper path to use (with ‘admin’) - or do I have a different issue?


You are correct, base path should be /auth/admin/realms
Seems like there are a couple of tickets open for improving these docs