irieimperatorI
ZITADEL14mo ago
1 reply
irieimperator

Go SDK set "x-zitadel-orgid" header

Based on the API docs, the header “x-zitadel-orgid” is required to scope ex. the request ManagementService().SetOrgMetadata() to an organization. How do I set this using the SDK?
https://zitadel.com/docs/apis/resources/mgmt/management-service-set-org-metadata
This endpoint either adds or updates a metadata value for the requested key. Make sure the value is base64 encoded.
ZITADEL Docs
Was this page helpful?