Skip to content

Commit ea49058

Browse files
chore(api): update composite API spec
1 parent e719bda commit ea49058

File tree

3 files changed

+54
-28
lines changed

3 files changed

+54
-28
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 1858
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-513b3f55d3cf3b2deb589c2ab315dae512e0c4dd6ee1005f409a2f33c259010d.yml
3-
openapi_spec_hash: 1ef3a639adc6af954e9de0389d7929b0
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-4dc1a69db7aa3e41949aea156be664d6264e27c51afbd80652e67001d625fe2b.yml
3+
openapi_spec_hash: ee19ba1f304102356cc887c6230553b7
44
config_hash: 71cc832bd763dd1075077063c6fec004

src/cloudflare/resources/organizations/organization_profile.py

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,10 @@ def update(
6060
extra_body: Body | None = None,
6161
timeout: float | httpx.Timeout | None | NotGiven = not_given,
6262
) -> None:
63-
"""
64-
Modify organization profile
63+
"""Modify organization profile.
64+
65+
(Currently in Closed Beta - see
66+
https://developers.cloudflare.com/fundamentals/organizations/)
6567
6668
Args:
6769
extra_headers: Send extra headers
@@ -104,8 +106,10 @@ def get(
104106
extra_body: Body | None = None,
105107
timeout: float | httpx.Timeout | None | NotGiven = not_given,
106108
) -> Result:
107-
"""
108-
Get an organizations profile if it exists.
109+
"""Get an organizations profile if it exists.
110+
111+
(Currently in Closed Beta - see
112+
https://developers.cloudflare.com/fundamentals/organizations/)
109113
110114
Args:
111115
extra_headers: Send extra headers
@@ -167,8 +171,10 @@ async def update(
167171
extra_body: Body | None = None,
168172
timeout: float | httpx.Timeout | None | NotGiven = not_given,
169173
) -> None:
170-
"""
171-
Modify organization profile
174+
"""Modify organization profile.
175+
176+
(Currently in Closed Beta - see
177+
https://developers.cloudflare.com/fundamentals/organizations/)
172178
173179
Args:
174180
extra_headers: Send extra headers
@@ -211,8 +217,10 @@ async def get(
211217
extra_body: Body | None = None,
212218
timeout: float | httpx.Timeout | None | NotGiven = not_given,
213219
) -> Result:
214-
"""
215-
Get an organizations profile if it exists.
220+
"""Get an organizations profile if it exists.
221+
222+
(Currently in Closed Beta - see
223+
https://developers.cloudflare.com/fundamentals/organizations/)
216224
217225
Args:
218226
extra_headers: Send extra headers

src/cloudflare/resources/organizations/organizations.py

Lines changed: 36 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,10 @@ def create(
7171
extra_body: Body | None = None,
7272
timeout: float | httpx.Timeout | None | NotGiven = not_given,
7373
) -> Organization:
74-
"""
75-
Create a new organization for a user.
74+
"""Create a new organization for a user.
75+
76+
(Currently in Closed Beta - see
77+
https://developers.cloudflare.com/fundamentals/organizations/)
7678
7779
Args:
7880
extra_headers: Send extra headers
@@ -117,8 +119,10 @@ def update(
117119
extra_body: Body | None = None,
118120
timeout: float | httpx.Timeout | None | NotGiven = not_given,
119121
) -> Organization:
120-
"""
121-
Modify organization
122+
"""Modify organization.
123+
124+
(Currently in Closed Beta - see
125+
https://developers.cloudflare.com/fundamentals/organizations/)
122126
123127
Args:
124128
extra_headers: Send extra headers
@@ -167,8 +171,10 @@ def list(
167171
extra_body: Body | None = None,
168172
timeout: float | httpx.Timeout | None | NotGiven = not_given,
169173
) -> SyncSinglePage[Organization]:
170-
"""
171-
Retrieve a list of organizations a particular user has access to.
174+
"""Retrieve a list of organizations a particular user has access to.
175+
176+
(Currently in
177+
Closed Beta - see https://developers.cloudflare.com/fundamentals/organizations/)
172178
173179
Args:
174180
id: Only return organizations with the specified IDs (ex. id=foo&id=bar). Send
@@ -227,7 +233,8 @@ def delete(
227233
"""Delete an organization.
228234
229235
The organization MUST be empty before deleting. It must
230-
not contain any sub-organizations, accounts, members or users.
236+
not contain any sub-organizations, accounts, members or users. (Currently in
237+
Closed Beta - see https://developers.cloudflare.com/fundamentals/organizations/)
231238
232239
Args:
233240
extra_headers: Send extra headers
@@ -263,8 +270,10 @@ def get(
263270
extra_body: Body | None = None,
264271
timeout: float | httpx.Timeout | None | NotGiven = not_given,
265272
) -> Organization:
266-
"""
267-
Retrieve the details of a certain organization.
273+
"""Retrieve the details of a certain organization.
274+
275+
(Currently in Closed Beta - see
276+
https://developers.cloudflare.com/fundamentals/organizations/)
268277
269278
Args:
270279
extra_headers: Send extra headers
@@ -327,8 +336,10 @@ async def create(
327336
extra_body: Body | None = None,
328337
timeout: float | httpx.Timeout | None | NotGiven = not_given,
329338
) -> Organization:
330-
"""
331-
Create a new organization for a user.
339+
"""Create a new organization for a user.
340+
341+
(Currently in Closed Beta - see
342+
https://developers.cloudflare.com/fundamentals/organizations/)
332343
333344
Args:
334345
extra_headers: Send extra headers
@@ -373,8 +384,10 @@ async def update(
373384
extra_body: Body | None = None,
374385
timeout: float | httpx.Timeout | None | NotGiven = not_given,
375386
) -> Organization:
376-
"""
377-
Modify organization
387+
"""Modify organization.
388+
389+
(Currently in Closed Beta - see
390+
https://developers.cloudflare.com/fundamentals/organizations/)
378391
379392
Args:
380393
extra_headers: Send extra headers
@@ -423,8 +436,10 @@ def list(
423436
extra_body: Body | None = None,
424437
timeout: float | httpx.Timeout | None | NotGiven = not_given,
425438
) -> AsyncPaginator[Organization, AsyncSinglePage[Organization]]:
426-
"""
427-
Retrieve a list of organizations a particular user has access to.
439+
"""Retrieve a list of organizations a particular user has access to.
440+
441+
(Currently in
442+
Closed Beta - see https://developers.cloudflare.com/fundamentals/organizations/)
428443
429444
Args:
430445
id: Only return organizations with the specified IDs (ex. id=foo&id=bar). Send
@@ -483,7 +498,8 @@ async def delete(
483498
"""Delete an organization.
484499
485500
The organization MUST be empty before deleting. It must
486-
not contain any sub-organizations, accounts, members or users.
501+
not contain any sub-organizations, accounts, members or users. (Currently in
502+
Closed Beta - see https://developers.cloudflare.com/fundamentals/organizations/)
487503
488504
Args:
489505
extra_headers: Send extra headers
@@ -519,8 +535,10 @@ async def get(
519535
extra_body: Body | None = None,
520536
timeout: float | httpx.Timeout | None | NotGiven = not_given,
521537
) -> Organization:
522-
"""
523-
Retrieve the details of a certain organization.
538+
"""Retrieve the details of a certain organization.
539+
540+
(Currently in Closed Beta - see
541+
https://developers.cloudflare.com/fundamentals/organizations/)
524542
525543
Args:
526544
extra_headers: Send extra headers

0 commit comments

Comments
 (0)