Skip to content

Commit 294beee

Browse files
docs(iam): create user spec (scaleway#2491)
Co-authored-by: Laure-di <[email protected]>
1 parent 7b8ffc2 commit 294beee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/iam/v1alpha1/iam_sdk.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2772,7 +2772,7 @@ func (s *API) DeleteUser(req *DeleteUserRequest, opts ...scw.RequestOption) erro
27722772
return nil
27732773
}
27742774

2775-
// CreateUser: Create a new user. You must define the `organization_id` and the `email` in your request.
2775+
// CreateUser: 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.
27762776
func (s *API) CreateUser(req *CreateUserRequest, opts ...scw.RequestOption) (*User, error) {
27772777
var err error
27782778

0 commit comments

Comments
 (0)