Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions scaleway-async/scaleway_async/iam/v1alpha1/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@
from .types import ListUsersResponse
from .types import LockUserRequest
from .types import MFAOTP
from .types import MigrateOrganizationGuestsRequest
from .types import Organization
from .types import OrganizationSecuritySettings
from .types import RemoveGroupMemberRequest
Expand Down Expand Up @@ -247,7 +246,6 @@
"ListUsersResponse",
"LockUserRequest",
"MFAOTP",
"MigrateOrganizationGuestsRequest",
"Organization",
"OrganizationSecuritySettings",
"RemoveGroupMemberRequest",
Expand Down
26 changes: 0 additions & 26 deletions scaleway-async/scaleway_async/iam/v1alpha1/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3017,32 +3017,6 @@ async def get_organization(
self._throw_on_error(res)
return unmarshal_Organization(res.json())

async def migrate_organization_guests(
self,
*,
organization_id: Optional[str] = None,
) -> None:
"""
Migrate the organization's guests to IAM members.
:param organization_id: ID of the Organization.

Usage:
::

result = await api.migrate_organization_guests()
"""

param_organization_id = validate_path_param(
"organization_id", organization_id or self.client.default_organization_id
)

res = self._request(
"POST",
f"/iam/v1alpha1/organizations/{param_organization_id}/migrate-guests",
)

self._throw_on_error(res)

async def update_organization_login_methods(
self,
*,
Expand Down
8 changes: 0 additions & 8 deletions scaleway-async/scaleway_async/iam/v1alpha1/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -2078,14 +2078,6 @@ class MFAOTP:
secret: str


@dataclass
class MigrateOrganizationGuestsRequest:
organization_id: Optional[str] = None
"""
ID of the Organization.
"""


@dataclass
class Organization:
id: str
Expand Down
2 changes: 0 additions & 2 deletions scaleway/scaleway/iam/v1alpha1/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@
from .types import ListUsersResponse
from .types import LockUserRequest
from .types import MFAOTP
from .types import MigrateOrganizationGuestsRequest
from .types import Organization
from .types import OrganizationSecuritySettings
from .types import RemoveGroupMemberRequest
Expand Down Expand Up @@ -247,7 +246,6 @@
"ListUsersResponse",
"LockUserRequest",
"MFAOTP",
"MigrateOrganizationGuestsRequest",
"Organization",
"OrganizationSecuritySettings",
"RemoveGroupMemberRequest",
Expand Down
26 changes: 0 additions & 26 deletions scaleway/scaleway/iam/v1alpha1/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3017,32 +3017,6 @@ def get_organization(
self._throw_on_error(res)
return unmarshal_Organization(res.json())

def migrate_organization_guests(
self,
*,
organization_id: Optional[str] = None,
) -> None:
"""
Migrate the organization's guests to IAM members.
:param organization_id: ID of the Organization.

Usage:
::

result = api.migrate_organization_guests()
"""

param_organization_id = validate_path_param(
"organization_id", organization_id or self.client.default_organization_id
)

res = self._request(
"POST",
f"/iam/v1alpha1/organizations/{param_organization_id}/migrate-guests",
)

self._throw_on_error(res)

def update_organization_login_methods(
self,
*,
Expand Down
8 changes: 0 additions & 8 deletions scaleway/scaleway/iam/v1alpha1/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -2078,14 +2078,6 @@ class MFAOTP:
secret: str


@dataclass
class MigrateOrganizationGuestsRequest:
organization_id: Optional[str] = None
"""
ID of the Organization.
"""


@dataclass
class Organization:
id: str
Expand Down