Only getting 404 from /v2beta/projects/search in v3.2.2?
Following the docs at https://zitadel.com/docs/apis/resources/project_service_v2/project-service-list-projects
The query is simply a POST to
/v2beta/projects/search
with a Bearer token.
Grabbed from the docs. What am I missing?
ZITADEL Docs
List all matching projects. By default all projects of the instance that the caller has permission to read are returned.
6 Replies
For anyone not versed in ruby, it's the same as this with the shell:
wget --no-check-certificate --quiet \
--method POST \
--timeout=0 \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <token>' \
--body-data '{}' \
'http://$CUSTOM-DOMAIN/v2beta/projects/search'
is there something that needs to be enabled to activate the
/v2beta/
API endpoints. Searched through discord, didn't find anything.hey there @rud thanks for pointing it out, it seems to me like a biug, I just tried it and it is indeed resulting in 404!. I will discuss it with my team internally and will get back to you.
thank you for the quick update @Rajat ! I'm also trying to call
/v2beta/projects/#{project_id}/grants/#{target_org_id}
, does that have the same problem? I'm getting consistent 404s from that endpoint toohey @rud can you link the api endpoint doc here?. I will test it and will get back to you
Docs are at https://zitadel.com/docs/apis/resources/project_service_v2/project-service-list-projects and https://zitadel.com/docs/apis/resources/project_service_v2/project-service-update-project-grant
ZITADEL Docs
List all matching projects. By default all projects of the instance that the caller has permission to read are returned.
ZITADEL Docs
Change the roles of the project that is granted to another organization.
I found links to those two pages from deprecated v1 API endpoints, they're missing navigation
edit: removing off-topic text