Manuel
Manuel•2mo ago

Org id is not set when creating organistation via api v2

The docs for https://zitadel.com/docs/apis/resources/org_service_v2/organization-service-add-organization say I can set a cutsom organization id, by sending an orgId parameter. But when I create a org the parameter is ignored. I use self hosted zitadel on version: v3.3.0
ZITADEL Docs
Create a new organization with an administrative user. If no specific roles are sent for the users, they will be granted the role ORG_OWNER.
5 Replies
Ask Inkeep
Ask Inkeep•2mo ago
Hi @Manuel, I'm an AI assistant for ZITADEL. While a team member reviews this question, I'll see if I can find relevant sources for your question. Answer I wasn't able to find a direct answer, here are some relevant sources: 1. Create an Organization : The v2 API documentation shows an orgId parameter for creating organizations with custom IDs. 2. Custom organization ID : This GitHub discussion from January 2025 addresses the exact issue you're experiencing - the custom organization ID feature appears to be inconsistent in the V2 API implementation. Feel free to tag @Ask Inkeep with additional questions.
Rajat
Rajat•2mo ago
hey @Manuel there's an open bug on the same https://github.com/zitadel/zitadel/discussions/9202
Manuel
ManuelOP•2mo ago
Thank you 🙂 I updated to v4.1.4 and there it works
Rajat
Rajat•2mo ago
hey @Manuel awesome that it worked 🙂 you can mark my answer with ✅ and it will auto close this thread 🙂
Gigi the Giraffe (Zitadel)
🎉 Looks like you just helped out another community member! Thanks for being so helpful <@1346540274674827395>! You're now one step closer to leveling up—keep up the amazing peer support! 🚀

Did you find this page helpful?