Use this request to list all the projects owned by a user:
curl -i -X GET \
-H "Authorization:<your-authorization-token>" \
'https://<your-iem-url>/portal/api/v1/projects'
A successful response looks like this:
{
"projects": [
{
"id": "4eac3c5dfb13448e923874bb5354de7b",
"name": "newProject",
"description": "test",
"icon": "",
"userId": "88b0d08729b94a949ad8f4ae1abf60c7"
}
]
}