Skip to content

Commit 5f90909

Browse files
docs(iam): create user spec (scaleway#933)
Co-authored-by: Laure-di <[email protected]>
1 parent eead279 commit 5f90909

File tree

2 files changed

+2
-2
lines changed
  • scaleway-async/scaleway_async/iam/v1alpha1
  • scaleway/scaleway/iam/v1alpha1

2 files changed

+2
-2
lines changed

scaleway-async/scaleway_async/iam/v1alpha1/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@ async def create_user(
582582
) -> User:
583583
"""
584584
Create a new user.
585-
Create a new user. You must define the `organization_id` and the `email` in your request.
585+
Create a new user. You must define the `organization_id` in your request. If you are adding a member, enter the member's details. If you are adding a guest, you must define the `email` and not add the member attribute.
586586
:param organization_id: ID of the Organization.
587587
:param email: Email of the user.
588588
One-Of ('type'): at most one of 'email', 'member' could be set.

scaleway/scaleway/iam/v1alpha1/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@ def create_user(
582582
) -> User:
583583
"""
584584
Create a new user.
585-
Create a new user. You must define the `organization_id` and the `email` in your request.
585+
Create a new user. You must define the `organization_id` in your request. If you are adding a member, enter the member's details. If you are adding a guest, you must define the `email` and not add the member attribute.
586586
:param organization_id: ID of the Organization.
587587
:param email: Email of the user.
588588
One-Of ('type'): at most one of 'email', 'member' could be set.

0 commit comments

Comments
 (0)