We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fbb1ec4 commit a6fe9bcCopy full SHA for a6fe9bc
hpecp/tenant.py
@@ -160,6 +160,7 @@ def create(
160
"tenant_type": tenant_type,
161
"member_key_available": "all_admins",
162
"k8s_cluster": k8s_cluster_id,
163
+ "tenant_type_info": {},
164
}
165
if description is not None:
166
data["label"]["description"] = description
@@ -181,6 +182,9 @@ def create(
181
182
"adopt_existing_namespace"
183
] = adopt_existing_namespace
184
185
+ if data["tenant_type_info"] == {}:
186
+ data.pop("tenant_type_info", None)
187
+
188
response = self.client._request(
189
url="/api/v1/tenant",
190
http_method="post",
0 commit comments