Use this request to create a new project:
curl -i -X GET \
-H "Authorization:<your-authorization-token>" \
'https://<your-iem-url>/portal/api/v1/projects' \
--data-raw '{
"name": "test",
"description": "test",
"companyId": "c536d7f53d144978a4b1020c418f2008"
}'
A successful response looks like this:
{
"id": "4eac3c5dfb13448e923874bb5354de7b",
"name": "test",
"description": "test",
"userId": "88b0d08729b94a949ad8f4ae1abf60c7",
"companyId": "c536d7f53d144978a4b1020c418f2008"
}