Re: How to get a new UAA guid by REST

Aleksey Zalesov


you need to query UAA API instead of CC API to learn user id.

GET /Users?attributes=id&filter=userName eq 'admin'

UAA endpoint:

$ cat ~/.cf/config.json | jq .UaaEndpoint

To create user you still need to use CC API, as user data goes to both CC and UAA databases. CC then creates UAA user automatically.

Join to automatically receive all group messages.