Jan
Jan•2mo ago

Missing org_id in AddOrganizationRequest [GO Client] ?

Hi, I'm trying to create an organization with an id (see https://zitadel.com/docs/apis/resources/org_service_v2/organization-service-add-organization) Maybe I'm doing something wrong, but the go client does not have the orgId field defined in AddOrganizationRequest? Go client: github.com/zitadel/zitadel-go/v3 v3.6.1
2 Replies
fcoppede
fcoppede•6d ago
👋 hey @Jan thanks for reaching out! there is a method you can use to create an Organization with the GO SDK and set your own ID: resp, err := api.OrganizationServiceV2().AddOrganization(...
Gigi the Giraffe (Zitadel)
🎉 Looks like you just helped out another community member! Thanks for being so helpful <@854908558415495188>! You're now one step closer to leveling up—keep up the amazing peer support! 🚀

Did you find this page helpful?