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
👋 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(...
🎉 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! 🚀