From ac7d1ad6d6579493ee4ed999a1f629a94072da2a Mon Sep 17 00:00:00 2001 From: Gustavo Bazan Date: Fri, 24 Feb 2023 14:37:49 +0000 Subject: [PATCH] fix: make org owner optional (#393) --- mongodbatlas/organizations.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mongodbatlas/organizations.go b/mongodbatlas/organizations.go index 99992e2b2..2e053c9d3 100644 --- a/mongodbatlas/organizations.go +++ b/mongodbatlas/organizations.go @@ -77,7 +77,7 @@ type Organizations struct { type CreateOrganizationRequest struct { APIKey *APIKeyInput `json:"apiKey,omitempty"` Name string `json:"name"` - OrgOwnerID string `json:"orgOwnerId"` + OrgOwnerID *string `json:"orgOwnerId,omitempty"` } // CreateOrganizationResponse struct for CreateOrganizationResponse.